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 default-features = false somewhere in the dependency tree.

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.

anyhow server

Enables anyhow

Client dependencies
(None)
Server dependencies

futures server
sov-modules-api server