From: Steve Myers Date: Thu, 30 Sep 2021 23:11:42 +0000 (-0700) Subject: Fix cargo doc warning and missing `sqlite` feature X-Git-Tag: v0.13.0~11^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/bitcoin/struct.ScriptHash.html?a=commitdiff_plain;h=22c39b7b786b39448f9ed4b221a03d3322f33ec9;p=bdk Fix cargo doc warning and missing `sqlite` feature --- diff --git a/Cargo.toml b/Cargo.toml index 29b56517..dd4fc911 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -113,6 +113,6 @@ required-features = ["compiler"] [workspace] members = ["macros"] [package.metadata.docs.rs] -features = ["compiler", "electrum", "esplora", "ureq", "compact_filters", "rpc", "key-value-db", "all-keys", "verify"] +features = ["compiler", "electrum", "esplora", "ureq", "compact_filters", "rpc", "key-value-db", "sqlite", "all-keys", "verify"] # defines the configuration attribute `docsrs` rustdoc-args = ["--cfg", "docsrs"] diff --git a/src/blockchain/rpc.rs b/src/blockchain/rpc.rs index 3ac67e4d..e88dda45 100644 --- a/src/blockchain/rpc.rs +++ b/src/blockchain/rpc.rs @@ -84,7 +84,7 @@ pub struct RpcConfig { /// This struct is equivalent to [core_rpc::Auth] but it implements [serde::Serialize] /// To be removed once upstream equivalent is implementing Serialize (json serialization format -/// should be the same) https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/181 +/// should be the same), see [rust-bitcoincore-rpc/pull/181](https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/181) #[derive(Clone, Debug, Hash, Eq, PartialEq, Ord, PartialOrd, Serialize, Deserialize)] #[serde(rename_all = "snake_case")] #[serde(untagged)]