Skip to content

Commit

Permalink
Fix docs.rs build
Browse files Browse the repository at this point in the history
The docs.rs build is failing because of the fact, that the `fips`
dependency while compiling, tries to write some files, which is not
allowed in read-only docs.rs environment.

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
  • Loading branch information
Jarema committed May 13, 2024
1 parent 5d007ca commit c182230
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion async-nats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@ harness = false
lto = true

[package.metadata.docs.rs]
all-features = true
# We can't use `all-features` because the `fips` doesn't compile in restricted docs.rs environment.
features = ["server_2_10", "service", "experimental", "ring", "aws-lc-rs"]
rustdoc-args = ["--cfg", "docsrs"]

0 comments on commit c182230

Please sign in to comment.