Skip to content

Commit 1accb0e

Browse files
committed
adds a line of documentation around the custom non-Send http client
1 parent d03cda8 commit 1accb0e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ Json output:
244244
By default, the SDK uses [`reqwest`](https://docs.rs/reqwest/latest/reqwest/) to make http calls.
245245
The SDK lets you customize the http client by implementing the `HttpClient` trait yourself and
246246
initializing the `Client` with the `new_with_client` method.
247+
You may be interested by the `futures-unsend` feature which lets you specify a non-Send http client.
247248

248249
## 🌐 Running in the Browser with WASM <!-- omit in TOC -->
249250

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@
222222
//! By default, the SDK uses [`reqwest`](https://docs.rs/reqwest/latest/reqwest/) to make http calls.
223223
//! The SDK lets you customize the http client by implementing the `HttpClient` trait yourself and
224224
//! initializing the `Client` with the `new_with_client` method.
225+
//! You may be interested by the `futures-unsend` feature which lets you specify a non-Send http client.
225226
#![warn(clippy::all)]
226227
#![allow(clippy::needless_doctest_main)]
227228

0 commit comments

Comments
 (0)