From 1c78ed28258d1c491eeb7d72c7a54d861043c6ab Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 30 Aug 2023 19:34:07 +0800 Subject: [PATCH] Added wasm in the docs. Ref: #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 //!