[rpc] Show in the docs that the RPC APIs are feature-gated
This commit is contained in:
parent
e5d4994329
commit
44d0e8d07c
@ -44,6 +44,7 @@ pub use self::electrum::ElectrumBlockchain;
|
|||||||
pub use self::electrum::ElectrumBlockchainConfig;
|
pub use self::electrum::ElectrumBlockchainConfig;
|
||||||
|
|
||||||
#[cfg(feature = "rpc")]
|
#[cfg(feature = "rpc")]
|
||||||
|
#[cfg_attr(docsrs, doc(cfg(feature = "rpc")))]
|
||||||
pub mod rpc;
|
pub mod rpc;
|
||||||
#[cfg(feature = "rpc")]
|
#[cfg(feature = "rpc")]
|
||||||
pub use self::rpc::RpcBlockchain;
|
pub use self::rpc::RpcBlockchain;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user