Skip to content

Commit

Permalink
Avoid aws-lc-rs feature flag when building docs. (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz authored Apr 26, 2024
1 parent b6d124c commit 78d214b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ jobs:
uses: dtolnay/rust-toolchain@nightly

- name: cargo doc (all features)
run: cargo doc --all-features --no-deps
# keep features in sync with Cargo.toml `[package.metadata.docs.rs]` section
run: cargo doc --no-default-features --features http1,http2,webpki-tokio,native-tokio,ring,tls12,logging --no-deps
env:
RUSTDOCFLAGS: -Dwarnings

Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ path = "examples/server.rs"
required-features = ["aws-lc-rs"]

[package.metadata.docs.rs]
all-features = true
no-default-features = true
features = ["http1", "http2", "webpki-tokio", "native-tokio", "ring", "tls12", "logging"]
rustdoc-args = ["--cfg", "docsrs"]

0 comments on commit 78d214b

Please sign in to comment.