Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/wizer/Cargo.toml
2455 views
1
[package]
2
description = "The WebAssembly Pre-Initializer"
3
documentation = "https://docs.rs/wasmtime-wizer"
4
edition.workspace = true
5
rust-version.workspace = true
6
license = "Apache-2.0 WITH LLVM-exception"
7
name = "wasmtime-wizer"
8
readme = "./README.md"
9
repository = "https://github.com/bytecodealliance/wasmtime"
10
version.workspace = true
11
authors.workspace = true
12
13
[lints]
14
workspace = true
15
16
[package.metadata.docs.rs]
17
all-features = true
18
19
[[bench]]
20
name = "regex"
21
harness = false
22
23
[[bench]]
24
name = "uap"
25
harness = false
26
27
[dependencies]
28
anyhow = { workspace = true }
29
log = { workspace = true }
30
rayon = { workspace = true }
31
clap = { workspace = true, optional = true }
32
wasm-encoder = { workspace = true, features = ['wasmparser'] }
33
wasmparser = { workspace = true, features = ['validate', 'features'] }
34
wasmprinter = { workspace = true, optional = true }
35
wasmtime = { workspace = true, optional = true, features = ['std', 'runtime', 'cranelift', 'cache', 'threads', 'gc', 'gc-null', 'async'] }
36
37
[dev-dependencies]
38
criterion = { workspace = true }
39
env_logger = { workspace = true }
40
wasmprinter = { workspace = true }
41
wat = { workspace = true }
42
wasmtime = { workspace = true, features = ['default'] }
43
wasmtime-wasi = { workspace = true, features = ["p1"] }
44
tokio = { workspace = true, features = ['macros'] }
45
46
[features]
47
# Enable this dependency to get messages with WAT disassemblies when certain
48
# internal panics occur.
49
wasmprinter = ['dep:wasmprinter']
50
51
# Enables default runtime implementations based on the `wasmtime` crate.
52
wasmtime = ['dep:wasmtime']
53
54
# Enable support for wizening components.
55
component-model = ['wasmtime?/component-model']
56
57
[[test]]
58
name = "all"
59
required-features = ['wasmtime']
60
61