From 9ef1c1e64a9936c5ebb82a55e2a3de9c68e17eb1 Mon Sep 17 00:00:00 2001 From: Martin Habovstiak Date: Fri, 17 Dec 2021 13:49:54 +0100 Subject: [PATCH] Fixed docs.rs metadata This changes `rustc-args`, which doesn't do what we want, to `rustdoc-args`, which does. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 86495f9b..b60b978e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 }