Merge rust-bitcoin/rust-bitcoin#744: Fixed docs.rs metadata

9ef1c1e64a Fixed docs.rs metadata (Martin Habovstiak)

Pull request description:

  This changes `rustc-args`, which doesn't do what we want, to `rustdoc-args`,
  which does.

  Because of huge value/effort ratio assigning medium priority and 0.28 milestone - would be a real shame to release without this.

ACKs for top commit:
  apoelstra:
    blindly ACK 9ef1c1e64a
  RCasatta:
    utACK 9ef1c1e64a

Tree-SHA512: b62b10bbb2120967cd0d42317707e51e1b2057cb4c8a5c5b3ff0be8e0beaf9e1f1a060002590c66e187e1e0da8016e1d035d7cbe7ca7fb08276791df3f256077
This commit is contained in:
Riccardo Casatta 2021-12-27 10:15:04 +01:00
commit 5f4755004d
No known key found for this signature in database
GPG Key ID: FD986A969E450397
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]
features = [ "std", "secp-recovery", "base64", "rand", "use-serde", "bitcoinconsensus" ]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
bech32 = { version = "0.8.1", default-features = false }