We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
doc_auto_cfg
1 parent f5dc8bc commit 7e04550Copy full SHA for 7e04550
Cargo.toml
@@ -32,4 +32,5 @@ serde_json = "1.0"
32
33
[package.metadata.docs.rs]
34
all-features = true
35
+rustdoc-args = ["--cfg", "docsrs"]
36
src/lib.rs
@@ -1,4 +1,5 @@
1
#![doc = include_str!("../README.md")]
2
+#![cfg_attr(docsrs, feature(doc_auto_cfg))]
3
#![cfg_attr(not(feature = "std"), no_std)]
4
#![forbid(unsafe_code)]
5
0 commit comments