From a1175a91661658d354bec2c1af6d70be52a30b04 Mon Sep 17 00:00:00 2001 From: Sleep_AllDay <37238439+SpeedReach@users.noreply.github.com> Date: Wed, 30 Aug 2023 20:46:06 +0800 Subject: [PATCH] Added wasm in the docs. (#1960) Closes #1957 --- src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index e734456fe..5e283e8d9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -160,6 +160,12 @@ //! [`Identity`][Identity] type. //! - Various parts of TLS can also be configured or even disabled on the //! `ClientBuilder`. +//! +//! ## WASM +//! The Client implementation automatically switches to the WASM one when the target_arch is wasm32, +//! the usage is basically the same as the async api. Some of the features are disabled in wasm +//! : [`tls`](tls) [`cookie`](cookie) [`blocking`](blocking). +//! //! //! ## Optional Features //!