From: Alekos Filini Date: Fri, 9 Jul 2021 07:11:02 +0000 (+0200) Subject: [rpc] Show in the docs that the RPC APIs are feature-gated X-Git-Tag: 0.10.0~22^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/-key.html?a=commitdiff_plain;h=44d0e8d07cd9db1134aa5ba16e94eb77a473242f;p=bdk [rpc] Show in the docs that the RPC APIs are feature-gated --- diff --git a/src/blockchain/mod.rs b/src/blockchain/mod.rs index ab789c4a..ecd9e6cd 100644 --- a/src/blockchain/mod.rs +++ b/src/blockchain/mod.rs @@ -44,6 +44,7 @@ pub use self::electrum::ElectrumBlockchain; pub use self::electrum::ElectrumBlockchainConfig; #[cfg(feature = "rpc")] +#[cfg_attr(docsrs, doc(cfg(feature = "rpc")))] pub mod rpc; #[cfg(feature = "rpc")] pub use self::rpc::RpcBlockchain;