Cargo Features

concordium-smart-contract-engine has no features set by default.

[dependencies]
concordium-smart-contract-engine = { version = "5.0.0", features = ["enable-ffi", "fuzz-coverage", "fuzz", "display-state", "async"] }
enable-ffi

If this feature is enabled the ffi exports are going to be produced for use from Haskell.

fuzz-coverage

Enables fuzz-coverage of concordium-wasm

fuzz = arbitrary

Enables fuzz of concordium-contracts-common

display-state = ptree

Expose helpers for displaying the state of a V1 contract.

async = futures

enable construction of the state from streams.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

ptree display-state?
futures async?
arbitrary fuzz?