Skip to content

Commit 9ec95ad

Browse files
authored
Merge branch 'master' into add-doc-auto-cfg
2 parents ae4b0a8 + 0d716c3 commit 9ec95ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ serde_json = "1.0"
3636
# More information: https://docs.rs/about/builds#cross-compiling
3737
[package.metadata.docs.rs]
3838
all-features = true
39-
rustdoc-args = ["--cfg", "docsrs"]
40-
rustc-args = ["--cfg", "docsrs"]
39+
40+
[lints.rust]
41+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }

0 commit comments

Comments
 (0)