[package] name = "wasmtime-cli-flags" version.workspace = true authors.workspace = true description = "Exposes common CLI flags used for running Wasmtime" license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/wasmtime" documentation = "https://docs.rs/wasmtime-cache/" edition.workspace = true rust-version.workspace = true [lints] workspace = true [dependencies] clap = { workspace = true } file-per-thread-logger = { workspace = true, optional = true } tracing-subscriber = { workspace = true, optional = true } rayon = { version = "1.5.0", optional = true } wasmtime = { workspace = true } serde = { workspace = true } serde_derive = { workspace = true } toml = { workspace = true } [features] async = ["wasmtime/async"] pooling-allocator = ["wasmtime/pooling-allocator"] component-model = ["wasmtime/component-model"] component-model-async = ["wasmtime/component-model-async"] cache = ["wasmtime/cache"] parallel-compilation = ["wasmtime/parallel-compilation", "dep:rayon"] logging = ["dep:file-per-thread-logger", "dep:tracing-subscriber"] cranelift = ["wasmtime/cranelift"] coredump = ["wasmtime/coredump"] gc = ["wasmtime/gc"] gc-drc = ["gc", "wasmtime/gc-drc"] gc-null = ["gc", "wasmtime/gc-null"] threads = ["wasmtime/threads"] memory-protection-keys = ["wasmtime/memory-protection-keys"] pulley = ["wasmtime/pulley"] stack-switching = ["wasmtime/stack-switching"] debug = ["wasmtime/debug"] rr = ["wasmtime/rr", "component-model"]