-
Notifications
You must be signed in to change notification settings - Fork 252
/
Cargo.toml
51 lines (44 loc) · 1.63 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
[package]
authors = ["Nick Fitzgerald <[email protected]>"]
categories = ["command-line-utilities", "development-tools", "development-tools::testing", "wasm"]
description = "A WebAssembly test case generator"
documentation = "https://docs.rs/wasm-smith"
edition.workspace = true
license.workspace = true
name = "wasm-smith"
readme = "./README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith"
version.workspace = true
exclude = ["/benches/corpus"]
rust-version.workspace = true
[package.metadata.docs.rs]
all-features = true
[[bench]]
name = "corpus"
harness = false
[lints]
workspace = true
[dependencies]
anyhow = { workspace = true }
arbitrary = { workspace = true, features = ["derive"] }
clap = { workspace = true, optional = true }
flagset = "0.4"
indexmap = { workspace = true }
leb128 = { workspace = true }
serde = { workspace = true, optional = true }
serde_derive = { workspace = true, optional = true }
wasm-encoder = { workspace = true }
wasmparser = { workspace = true, optional = true, features = ['validate', 'features', 'simd'] }
wat = { workspace = true, optional = true }
[dev-dependencies]
criterion = { workspace = true }
rand = { workspace = true }
wasmparser = { workspace = true, features = ['validate', 'features', 'simd'] }
wasmprinter = { workspace = true }
wat = { workspace = true }
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
libfuzzer-sys = { workspace = true }
[features]
_internal_cli = ["clap", "flagset/serde", "serde", "serde_derive", "wasmparser", "wat"]
wasmparser = ['dep:wasmparser', 'wasm-encoder/wasmparser']
component-model = ['wasm-encoder/component-model']