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]
16anyhow = { workspace = true, features = ['std'] }
17clap = { workspace = true }
18file-per-thread-logger = { workspace = true, optional = true }
19tracing-subscriber = { workspace = true, optional = true }
20rayon = { version = "1.5.0", optional = true }
21wasmtime = { workspace = true }
22humantime = { workspace = true }
23
24[features]
25async = ["wasmtime/async"]
26pooling-allocator = ["wasmtime/pooling-allocator"]
27component-model = ["wasmtime/component-model"]
28component-model-async = ["wasmtime/component-model-async"]
29cache = ["wasmtime/cache"]
30parallel-compilation = ["wasmtime/parallel-compilation", "dep:rayon"]
31logging = ["dep:file-per-thread-logger", "dep:tracing-subscriber"]
32cranelift = ["wasmtime/cranelift"]
33coredump = ["wasmtime/coredump"]
34gc = ["wasmtime/gc"]
35gc-drc = ["gc", "wasmtime/gc-drc"]
36gc-null = ["gc", "wasmtime/gc-null"]
37threads = ["wasmtime/threads"]
38memory-protection-keys = ["wasmtime/memory-protection-keys"]
39pulley = ["wasmtime/pulley"]
40