-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (60 loc) · 2.18 KB
/
Cargo.toml
File metadata and controls
70 lines (60 loc) · 2.18 KB
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]
version = "11.0.3"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
maintainers = ["Victor Adossi <vadossi@cosmonic.com>"]
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"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "wizer"
required-features = ["cli"]
[dependencies]
anyhow = { workspace = true, optional = true }
clap = { workspace = true, optional = true, features = ['derive'] }
env_logger = { workspace = true, optional = true }
tokio = { workspace = true, features = ["macros"] }
wasmtime = { workspace = true, features = ["async", "anyhow"] }
wasmtime-wasi = { workspace = true, features = ["p1"] }
wasmtime-wizer = { workspace = true, features = ["wasmtime"] }
[features]
# Enable this dependency to get messages with WAT disassemblies when certain
# internal panics occur.
wasmprinter = ['wasmtime-wizer/wasmprinter']
cli = ['dep:clap', 'dep:env_logger', 'dep:anyhow', 'wasmtime-wizer/clap']
[workspace.dependencies]
anyhow = { version = "1.0.97" }
clap = { version = "4.5" }
criterion = { version = "0.5.1" }
env_logger = { version = "0.11.8" }
log = { version = "0.4.27" }
tokio = { version = "1.49.0" }
wasm-encoder = { version = "0.244.0" }
wasmparser = { version = "0.244.0" }
wasmprinter = { version = "0.244.0" }
wasmtime = { version = "42.0.0" }
wasmtime-wasi = { version = "42.0.0" }
wasmtime-wizer = { version = "42.0.0" }
wat = { version = "1.244.0" }
[dev-dependencies]
anyhow = { workspace = true }
criterion = { workspace = true }
env_logger = { workspace = true }
log = { workspace = true }
wasm-encoder = { workspace = true }
wasmparser = { workspace = true }
wasmprinter = { workspace = true }
wat = { workspace = true }
[workspace]
members = ["tests/regex-test"]
[profile.bench]
debug = true
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(fuzzing)'] }