Cargo Features

[dependencies]
sov-modules-api = { version = "0.3.0", default-features = false, features = ["native", "macros", "bench", "arbitrary"] }
default = macros

The macros feature is set by default whenever sov-modules-api is added without default-features = false somewhere in the dependency tree.

native = clap, jsonrpsee, macros, rand, schemars, serde_json

Enables rand_core of ed25519-dalek, native of sov-modules-macros and sov-state

Affects default_context::DefaultContext, default_signature::private_key, dispatch::CliWallet, sov-modules-api::cli, sov-modules-api::utils, sov-modules-api::PrivateKey, sov-modules-api::CliWalletArg

macros default native? = sov-modules-macros

Affects reexport_macros::macros

bench = risc0-zkvm, risc0-zkvm-platform, sov-zk-cycle-macros
arbitrary

Enables arbitrary, proptest, and proptest-derive ^0.3.0, arbitrary of sov-state

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.

jsonrpsee native?

Enables jsonrpsee ^0.20.1

sov-modules-macros macros native?
serde_json native?
clap native?
schemars native?
rand native?
sov-zk-cycle-macros bench?
risc0-zkvm bench?

Enables risc0-zkvm ^0.18

risc0-zkvm-platform bench?

Enables risc0-zkvm-platform ^0.18