Skip to content

Commit 58d981c

Browse files
committed
use docsrs --cfg to turn on feature auto cfg
1 parent 8206678 commit 58d981c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ edition = "2018"
1414

1515
[package.metadata.docs.rs]
1616
features = ["full"]
17+
rustdoc-args = ["--cfg", "docsrs"]
1718

1819
[dependencies]
1920
hyper = "1.0.0"

0 commit comments

Comments
 (0)