Cargo Features

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

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

Enables next of soroban-env-common

tracy

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

recording_mode testutils?
testutils = recording_mode

Enables backtrace =0.3.69, 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.