Cargo Features

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

[dependencies]
soroban-env-common = { version = "21.1.2", 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 =1.0.192, serde of stellar-xdr

wasmi

Enables soroban-wasmi 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 =0.16.4

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