From 1b24d0159a4bcde1b797046acc1dfe0b91b6df0f Mon Sep 17 00:00:00 2001 From: Thomas Niederberger Date: Tue, 2 May 2023 09:39:28 +0200 Subject: [PATCH] Mention examples in the feature flag documentation. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) 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