We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
doc_cfg
1 parent 9c58cfb commit fdcf41fCopy full SHA for fdcf41f
Cargo.toml
@@ -39,6 +39,10 @@ string_to_string = "warn"
39
cast_possible_wrap = { level = "allow", priority = 1 }
40
cast_possible_truncation = { level = "allow", priority = 1 }
41
42
+[package.metadata.docs.rs]
43
+all-features = true
44
+rustdoc-args = ["--cfg", "docsrs"]
45
+
46
[features]
47
tokio = ["dep:tokio", "futures"]
48
# Experimental and somewhat incomplete
src/lib.rs
@@ -15,6 +15,7 @@
15
//! incomplete.
16
17
#![forbid(unsafe_code)]
18
+#![cfg_attr(docsrs, feature(doc_cfg))]
19
20
// TODO split up
21
0 commit comments