diff --git a/Cargo.toml b/Cargo.toml index fa7faa079..e3b10f0f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,11 +72,14 @@ disable_target_static_assertions = [ sync-api = ["ac-compose-macros/sync-api", "maybe-async/is_sync"] # Use the `jsonrpsee` crate for websocket communication. Does provide sync and async support but needs a tokio runtime. # Provides convenience functions such as subscription callbacks. +# Most examples use the `jsonrpsee` feature and can be used for reference. jsonrpsee-client = ["std", "jsonrpsee", "futures"] # Use the `tungstenite` crate for websocket communication. No async support but has some reconnection capabilities. +# See the example `transfer_with_tungstenite_client` on how to use it. tungstenite-client = ["std", "tungstenite"] # Use the `ws` crate for websocket communication. No async support. # Establishes a new connection for each request and therefore is limited in terms of performance. +# See the example `transfer_with_ws_client` on how to use it. ws-client = ["std", "ws"] # Enables functionality that helps to create extrinsics for `pallet-staking`. # See the `StakingExtrinsics` trait and the `staking_batch_payout` example to get an understanding