Cargo Features
[dependencies]
sov-ledger-rpc = { version = "0.3.0", default-features = false, features = ["server", "client"] }
- default = client, server
-
These default features are set whenever
sov-ledger-rpc
is added without
somewhere in the dependency tree.default-features = false - server default = anyhow, futures, sov-modules-api
-
Enables server of jsonrpsee ^0.20.1
Common dependencies
Affects
sov-ledger-rpc::server
… - client default
-
Enables client and macros of jsonrpsee ^0.20.1
Affects
sov-ledger-rpc::client
…
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.