1[package] 2name = "wasmtime-cli-flags" 3version.workspace = true 4authors.workspace = true 5description = "Exposes common CLI flags used for running Wasmtime" 6license = "Apache-2.0 WITH LLVM-exception" 7repository = "https://github.com/bytecodealliance/wasmtime" 8documentation = "https://docs.rs/wasmtime-cache/" 9edition.workspace = true 10rust-version.workspace = true 11 12[lints] 13workspace = true 14 15[dependencies] 16clap = { workspace = true } 17file-per-thread-logger = { workspace = true, optional = true } 18tracing-subscriber = { workspace = true, optional = true } 19rayon = { version = "1.5.0", optional = true } 20wasmtime = { workspace = true } 21serde = { workspace = true } 22serde_derive = { workspace = true } 23toml = { workspace = true } 24 25[features] 26async = ["wasmtime/async"] 27pooling-allocator = ["wasmtime/pooling-allocator"] 28component-model = ["wasmtime/component-model"] 29component-model-async = ["wasmtime/component-model-async"] 30cache = ["wasmtime/cache"] 31parallel-compilation = ["wasmtime/parallel-compilation", "dep:rayon"] 32logging = ["dep:file-per-thread-logger", "dep:tracing-subscriber"] 33cranelift = ["wasmtime/cranelift"] 34coredump = ["wasmtime/coredump"] 35gc = ["wasmtime/gc"] 36gc-drc = ["gc", "wasmtime/gc-drc"] 37gc-null = ["gc", "wasmtime/gc-null"] 38threads = ["wasmtime/threads"] 39memory-protection-keys = ["wasmtime/memory-protection-keys"] 40pulley = ["wasmtime/pulley"] 41stack-switching = ["wasmtime/stack-switching"] 42debug = ["wasmtime/debug"] 43rr = ["wasmtime/rr", "component-model"] 44