rpc: stabilize chainhead backend (#1802)

* rpc: stabilize ChainHeadBackend

* remove noise from example

* add missing features

* make tests compile

* make tests compile v2

* revert stop event

* feature-gate runtime

* Update subxt/Cargo.toml

* add docsrs feature stuff

* Update subxt/src/backend/chain_head/mod.rs

* Update subxt/src/backend/chain_head/mod.rs

* Update subxt/src/backend/chain_head/mod.rs
This commit is contained in:
Niklas Adolfsson
2024-10-03 18:14:38 +02:00
committed by GitHub
parent 7f9a1a17c0
commit 3807b29f36
22 changed files with 302 additions and 184 deletions
+2 -2
View File
@@ -2,9 +2,9 @@
// This file is dual-licensed as Apache-2.0 or GPL-3.0.
// see LICENSE for license details.
#[cfg(all(feature = "unstable-light-client", feature = "unstable-backend-client"))]
#[cfg(all(feature = "unstable-light-client", feature = "chainhead-backend"))]
compile_error!(
"The features 'unstable-light-client' and 'unstable-backend-client' cannot be used together"
"The features 'unstable-light-client' and 'chainhead-backend' cannot be used together"
);
#[cfg(test)]