-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathCargo.toml
70 lines (59 loc) · 1.6 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
authors = ["Nick Fitzgerald <[email protected]>"]
categories = ["command-line-utilities", "development-tools", "wasm"]
description = "The WebAssembly Pre-Initializer"
documentation = "https://docs.rs/wizer"
edition = "2018"
exclude = ["**.wasm"]
homepage = "https://github.com/bytecodealliance/wizer"
license = "Apache-2.0 WITH LLVM-exception"
name = "wizer"
readme = "./README.md"
repository = "https://github.com/bytecodealliance/wizer"
version = "7.0.5"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "wizer"
required-features = ["env_logger", "structopt"]
[[bench]]
name = "regex"
harness = false
[[bench]]
name = "uap"
harness = false
[dependencies]
anyhow = "1.0.81"
cap-std = "3.0.0"
env_logger = { version = "0.11", optional = true }
log = "0.4.21"
rayon = "1.10.0"
structopt = { version = "0.3.26", optional = true }
wasm-encoder = "0.202.0"
wasmparser = "0.202.0"
wasmtime = { workspace = true }
wasmtime-wasi = { workspace = true, features = ["preview1"] }
# Enable this dependency to get messages with WAT disassemblies when certain
# internal panics occur.
[dependencies.wasmprinter]
workspace = true
optional = true
[workspace.dependencies]
wasmprinter = "0.202.0"
wasmtime = "23"
wasmtime-wasi = "23"
[dev-dependencies]
criterion = "0.5.1"
env_logger = "0.11.3"
wasmprinter = { workspace = true }
wat = "1.202.0"
[workspace]
members = [
"benches/regex-bench",
"benches/uap-bench",
"fuzz",
"tests/regex-test",
]
[profile.bench]
debug = true
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(fuzzing)'] }