Cargo Features

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

The testutils feature is set by default whenever soroban-env-host-zephyr is added without default-features = false somewhere in the dependency tree.

next

Enables next of soroban-env-common-zephyr

tracy

Enables tracy-client =0.16.4, tracy of soroban-env-common-zephyr

recording_mode testutils
bench

Affects soroban-env-host-zephyr::cost_runner

testutils default = recording_mode

Enables backtrace =0.3.71, testutils of soroban-env-common-zephyr

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.