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