Cargo Features

soroban-env-common has no features set by default.

[dependencies]
soroban-env-common = { version = "22.0.0", features = ["std", "serde", "wasmi", "next", "tracy", "shallow-val-hash", "testutils"] }
std

Enables base64 and std of stellar-xdr

Affects env::EnvBase.tracing_enabled, env::EnvBase.trace_env_call, env::EnvBase.trace_env_ret, env::EnvBase.env_call_hook, env::EnvBase.env_ret_hook

serde

Enables serde, serde of stellar-xdr

wasmi

Enables soroban-wasmi =0.31.1-soroban.20.0.1 and wasmparser =0.116.1

Affects val::WasmiMarshal, vmcaller_env::VmCaller

next

Enables next of soroban-env-macros and stellar-xdr

tracy

Enables tracy-client

shallow-val-hash
testutils

Enables arbitrary, arbitrary of stellar-xdr

Affects env::EnvBase.escalate_error_to_panic, env::EnvBase.env_call_hook, env::EnvBase.env_ret_hook