Cargo Features

[dependencies]
soroban-kit = { version = "0.1.11", default-features = false, features = ["oracle", "commitment-scheme", "storage", "state-machine", "circuit-breaker", "utils", "mock-storage"] }
default = circuit-breaker, commitment-scheme, oracle, state-machine, storage, utils

These default features are set whenever soroban-kit is added without default-features = false somewhere in the dependency tree.

oracle default

Enables oracle of soroban-macros and soroban-tools

commitment-scheme default

Enables commitment-scheme of soroban-macros and soroban-tools

storage default mock-storage?

Enables storage of soroban-macros and soroban-tools

state-machine default circuit-breaker

Enables state-machine of soroban-macros and soroban-tools

circuit-breaker default = state-machine

Enables circuit-breaker of soroban-macros and soroban-tools

utils default

Enables utils of soroban-macros and soroban-tools

mock-storage = storage

Enables mock-storage of soroban-macros and soroban-tools

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.

soroban-macros circuit-breaker commitment-scheme mock-storage? oracle state-machine storage utils
soroban-tools circuit-breaker commitment-scheme mock-storage? oracle state-machine storage utils