Skip to content

Commit

Permalink
Add doc_nightly to list of custom cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis committed Sep 23, 2024
1 parent 5750259 commit c8bbd91
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ collector = []
# build time for peace of mind.
handle_panics = []

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(doc_nightly)"] }

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

0 comments on commit c8bbd91

Please sign in to comment.