Fixed docs.rs metadata

This changes `rustc-args`, which doesn't do what we want, to `rustdoc-args`,
which does.
This commit is contained in:
Martin Habovstiak 2021-12-17 13:49:54 +01:00
parent fe43e3c9d7
commit 9ef1c1e64a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ no-std = ["hashbrown", "core2/alloc", "bitcoin_hashes/alloc", "secp256k1/alloc"]
[package.metadata.docs.rs] [package.metadata.docs.rs]
features = [ "std", "secp-recovery", "base64", "rand", "use-serde", "bitcoinconsensus" ] features = [ "std", "secp-recovery", "base64", "rand", "use-serde", "bitcoinconsensus" ]
rustc-args = ["--cfg", "docsrs"] rustdoc-args = ["--cfg", "docsrs"]
[dependencies] [dependencies]
bech32 = { version = "0.8.1", default-features = false } bech32 = { version = "0.8.1", default-features = false }