Cargo Features
[dependencies]
sui-jsonrpc = { version = "0.24.0", default-features = false, features = ["client", "client-api"] }
- default = client
-
The
clientfeature is set by default wheneversui-jsonrpcis added withoutsomewhere in the dependency tree.default-features = false - client default = client-api
-
Enables jsonrpsee-http-client, ws-client of jsonrpsee and async-stream, futures-core, futures-util, and http
futures-core:
Public dependencies; a SemVer-breaking bump in one of these must come with a SemVer-breaking bump to this crate https://rust-lang.github.io/rfcs/3516-public-private-dependencies.html
Affects
sui-jsonrpc::client… - client-api client
-
Enables extension-traits, jsonrpsee-core and jsonrpsee-types, client-core and macros of jsonrpsee
Affects
sui-jsonrpc::api,sui-jsonrpc::error…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.