Cargo Features

wasmtime-cli-flags has no features set by default.

[dependencies]
wasmtime-cli-flags = { version = "20.0.0", features = ["pooling-allocator", "component-model", "cache", "parallel-compilation", "logging", "cranelift", "coredump", "gc", "threads"] }
pooling-allocator
component-model

Enables component-model of wasmtime

wasmtime:

Enables in-progress support for the component model. Note that this feature is in-progress, buggy, and incomplete. This is primarily here for internal testing purposes.

cache

Enables cache of wasmtime

wasmtime:

Enables support for automatic cache configuration to be enabled in Config.

parallel-compilation

Enables rayon and parallel-compilation of wasmtime

wasmtime:

Enables parallel compilation of WebAssembly code.

logging

Enables file-per-thread-logger and tracing-subscriber

cranelift

Enables cranelift of wasmtime

wasmtime:

An on-by-default feature enabling runtime compilation of WebAssembly modules with the Cranelift compiler. Cranelift is the default compilation backend of Wasmtime. If disabled then WebAssembly modules can only be created from precompiled WebAssembly modules.

coredump

Enables coredump of wasmtime

wasmtime:

Enable support for generating core dumps on traps.

gc

Enables wasmtime

wasmtime:

Enable support for garbage collection-related things.

This Cargo feature is required to compile or run Wasm that uses any of the following Wasm proposals:

When a compiler Cargo feature (cranelift or winch) is enabled, this feature gates the ability to compile Wasm that uses those proposals.

When the runtime Cargo feature is enabled, this feature gates the ability to load and run Wasm that uses those proposals.

threads

Enables threads of wasmtime

wasmtime:

Enable runtime support for the WebAssembly threads proposal.

wasmtime-cli-flags has 9 features without comments.