More exampels and ensure light client things work. Remove unstable from unstable-light-client

This commit is contained in:
James Wilson
2025-12-16 13:00:42 +00:00
parent 82590b10d1
commit e9bb756605
16 changed files with 262 additions and 41 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ keywords = ["parity", "subxt", "rpcs"]
default = ["jsonrpsee", "native"]
jsonrpsee = ["dep:jsonrpsee", "dep:tokio-util"]
unstable-light-client = [
light-client = [
"dep:subxt-lightclient"
]
+1 -1
View File
@@ -18,7 +18,7 @@
//! which implement [`RpcClientT`] and can therefore be used to construct [`RpcClient`]s.
//!
//! - **jsonrpsee**: Enable an RPC client based on `jsonrpsee`.
//! - **unstable-light-client**: Enable an RPC client which uses the Smoldot light client under
//! - **light-client**: Enable an RPC client which uses the Smoldot light client under
//! the hood to communicate with the network of choice.
//! - **reconnecting-rpc-client**: Enable an RPC client based on `jsonrpsee` which handles
//! reconnecting automatically in the event of network issues.
+1 -1
View File
@@ -14,7 +14,7 @@ macro_rules! cfg_feature {
macro_rules! cfg_unstable_light_client {
($($item:item)*) => {
crate::macros::cfg_feature!("unstable-light-client", $($item)*);
crate::macros::cfg_feature!("light-client", $($item)*);
};
}