Cargo Features

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

[dependencies]
soroban-env-host = { version = "22.0.0", features = ["backtrace", "next", "tracy", "recording_mode", "testutils", "bench", "unstable-next-api"] }
backtrace

Enables backtrace

next

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

tracy

Enables tracy-client, tracy of soroban-env-common

recording_mode testutils?
testutils = recording_mode

Enables testutils of soroban-env-common

bench

Affects soroban-env-host::cost_runner

unstable-next-api

This feature guards the work-in-progress changes in soroban-env-host API. Its main purpose is to be able to make API changes without bumping the crate version.
These changes should only be used by importers who depend on an exact patch version of the crates in this repo, because breaking changes may be introduced into any version in any code gated by this feature.
When bumping the major version of any crates in this repo all the code guarded by this feature should be enabled unconditionally.