From b6beef77e77343fe29ffc0e3daf75c9c831b9d62 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Fri, 2 Jul 2021 10:07:44 +0200 Subject: [PATCH 1/2] [rpc] Mark the RPC backend as experimental --- src/blockchain/rpc.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blockchain/rpc.rs b/src/blockchain/rpc.rs index c457af59..3d25e818 100644 --- a/src/blockchain/rpc.rs +++ b/src/blockchain/rpc.rs @@ -13,6 +13,8 @@ //! //! Backend that gets blockchain data from Bitcoin Core RPC //! +//! This is an **EXPERIMENTAL** feature, API and other major changes are expected. +//! //! ## Example //! //! ```no_run From 58cf46050fee37b05fafdb769991d178a30184e9 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Fri, 2 Jul 2021 10:09:09 +0200 Subject: [PATCH 2/2] Build the `rpc` feature on docs.rs --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 11781c8f..a9a62c89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -89,6 +89,6 @@ required-features = ["compiler"] [workspace] members = ["macros"] [package.metadata.docs.rs] -features = ["compiler", "electrum", "esplora", "compact_filters", "key-value-db", "all-keys", "verify"] +features = ["compiler", "electrum", "esplora", "compact_filters", "rpc", "key-value-db", "all-keys", "verify"] # defines the configuration attribute `docsrs` rustdoc-args = ["--cfg", "docsrs"]