[package]
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
categories = ["command-line-utilities", "development-tools", "development-tools::testing", "wasm"]
description = "A WebAssembly test case generator"
documentation = "https://docs.rs/wasm-smith"
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception"
name = "wasm-smith"
readme = "./README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith"
version = "0.11.4"
exclude = ["/benches/corpus"]
[[bench]]
name = "corpus"
harness = false
[dependencies]
arbitrary = { version = "1.1.0", features = ["derive"] }
flagset = "0.4"
indexmap = "1.6"
leb128 = "0.2.4"
serde = { version = "1", features = ['derive'], optional = true }
wasm-encoder = { version = "0.16.0", path = "../wasm-encoder" }
wasmparser = { version = "0.89.0", path = "../wasmparser" }
[dev-dependencies]
criterion = "0.3.3"
libfuzzer-sys = "0.4.0"
rand = { version = "0.8.0", features = ["small_rng"] }
wasmprinter = { path = "../wasmprinter" }
wat = { path = "../wat" }
[features]
_internal_cli = ["serde", "flagset/serde"]