Skip to content

Commit 64b3e14

Browse files
committed
Fix docs.rs build
1 parent 33b36ab commit 64b3e14

5 files changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
- name: Check docs
6464
run: cargo doc --no-deps -p boring -p boring-sys --features rpk,pq-experimental,underscore-wildcards
6565
env:
66+
CARGO_BUILD_RUSTDOCFLAGS: "--cfg=docsrs"
67+
RUST_BOOTSTRAP: 1
6668
DOCS_RS: 1
6769
- name: Cargo.toml boring versions consistency
6870
shell: bash

boring-sys/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
non_upper_case_globals,
1111
unused_imports
1212
)]
13-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1413

1514
use std::convert::TryInto;
1615
use std::ffi::c_void;

boring/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@
9696
//! Presently all these key agreements are deployed by Cloudflare, but we do not guarantee continued
9797
//! support for them.
9898
99-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
100-
10199
#[macro_use]
102100
extern crate bitflags;
103101
#[macro_use]

hyper-boring/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! Hyper SSL support via BoringSSL.
22
#![warn(missing_docs)]
3-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
43

54
use crate::cache::SessionKey;
65
use boring::error::ErrorStack;

tokio-boring/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! [`boring`] crate, on which this crate is built. Configuration of TLS parameters is still
1212
//! primarily done through the [`boring`] crate.
1313
#![warn(missing_docs)]
14-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1514

1615
use boring::ssl::{
1716
self, ConnectConfiguration, ErrorCode, MidHandshakeSslStream, ShutdownResult, SslAcceptor,

0 commit comments

Comments
 (0)