Skip to content

Commit

Permalink
adds a line of documentation around the custom non-Send http client
Browse files Browse the repository at this point in the history
  • Loading branch information
irevoire committed May 2, 2024
1 parent d03cda8 commit 1accb0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ Json output:
By default, the SDK uses [`reqwest`](https://docs.rs/reqwest/latest/reqwest/) to make http calls.
The SDK lets you customize the http client by implementing the `HttpClient` trait yourself and
initializing the `Client` with the `new_with_client` method.
You may be interested by the `futures-unsend` feature which lets you specify a non-Send http client.

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

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

Expand Down

0 comments on commit 1accb0e

Please sign in to comment.