We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7147d commit 3d2de37Copy full SHA for 3d2de37
Cargo.toml
@@ -83,3 +83,13 @@ name = "fetch-fsm"
83
84
[[example]]
85
name = "fetch-stream"
86
+
87
+# We use this --cfg for documenting the cargo features on which an API
88
+# is available. To preview this locally use: RUSTFLAGS="--cfg
89
+# iroh_docsrs cargo +nightly doc --all-features". We use our own
90
+# iroh_docsrs instead of the common docsrs to avoid also enabling this
91
+# feature in any dependencies, because some indirect dependencies
92
+# require a feature enabled when using `--cfg docsrs` which we can not
93
+# do. To enable for a crate set `#![cfg_attr(iroh_docsrs,
94
+# feature(doc_cfg))]` in the crate.
95
+unexpected_cfgs = { level = "warn", check-cfg = ["cfg(iroh_docsrs)"] }
0 commit comments