Unverified Commit 292bd88a authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

extract async client abstraction. (#580)



* extract ws client to async client

* bring back jsonrpsee-ws-client crate

* new crate core client

* add missing file

* jsonrpsee crate: add core client

* rexport core client

* more re-exports

* downgrade trait bounds

* update version

* fix nits

* send close reason

* Update types/src/traits.rs

* move 'TEN_MB_CONST' to core

* Update client/core-client/Cargo.toml

Co-authored-by: default avatarDavid <[email protected]>

* Update client/core-client/src/lib.rs

Co-authored-by: default avatarDavid <[email protected]>

* cargo fmt

* Update client/ws-client/src/lib.rs

Co-authored-by: default avatarDavid <[email protected]>

* Update client/ws-client/src/lib.rs

Co-authored-by: default avatarDavid <[email protected]>

* move `async-client` core

The `async-client` is hidden behind a new feature flag `async-client`
because it brings in additional dependecies such as tokio rt.

* fix docs

* add example how to use "core client"

* fix build

* Update http-server/Cargo.toml

* Update client/transport/Cargo.toml

Co-authored-by: default avatarDavid <[email protected]>
parent e159c449
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment