Skip to content

Commit

Permalink
added '--cfg docsrs' to docs.rs config in Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPeel committed Jul 4, 2023
1 parent 1f4f87b commit d20078b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ std = []
rand = ["dep:rand"]

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true

[dependencies]
Expand Down

0 comments on commit d20078b

Please sign in to comment.