Skip to content

Commit

Permalink
util: display JoinMap on docs.rs (#4689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn committed May 14, 2022
1 parent f7346f0 commit ce0e115
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tokio-util/Cargo.toml
Expand Up @@ -58,4 +58,8 @@ futures-test = "0.3.5"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
# enable unstable features in the documentation
rustdoc-args = ["--cfg", "docsrs", "--cfg", "tokio_unstable"]
# it's necessary to _also_ pass `--cfg tokio_unstable` to rustc, or else
# dependencies will not be enabled, and the docs build will fail.
rustc-args = ["--cfg", "docsrs", "--cfg", "tokio_unstable"]

0 comments on commit ce0e115

Please sign in to comment.