wasm-smith 0.221.0

A WebAssembly test case generator
Documentation
[[bench]]
harness = false
name = "corpus"
path = "benches/corpus.rs"

[dependencies.anyhow]
version = "1.0.58"

[dependencies.arbitrary]
features = ["derive"]
version = "1.1.0"

[dependencies.clap]
features = ["derive"]
optional = true
version = "4.0.0"

[dependencies.flagset]
version = "0.4"

[dependencies.indexmap]
default-features = false
version = "2.0.0"

[dependencies.leb128]
version = "0.2.4"

[dependencies.serde]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.166"

[dependencies.serde_derive]
optional = true
version = "1.0.166"

[dependencies.wasm-encoder]
default-features = false
version = "0.221.0"

[dependencies.wasmparser]
default-features = false
features = ["std", "simd", "validate", "features", "simd"]
optional = true
version = "0.221.0"

[dependencies.wat]
default-features = false
optional = true
version = "1.221.0"

[dev-dependencies.criterion]
default-features = false
version = "0.5.1"

[dev-dependencies.rand]
features = ["small_rng"]
version = "0.8.4"

[dev-dependencies.wasmparser]
default-features = false
features = ["std", "simd", "validate", "features", "simd"]
version = "0.221.0"

[dev-dependencies.wasmprinter]
default-features = false
version = "0.221.0"

[dev-dependencies.wat]
default-features = false
version = "1.221.0"

[features]
_internal_cli = ["clap", "flagset/serde", "serde", "serde_derive", "wasmparser", "wat"]
component-model = ["wasm-encoder/component-model"]
wasmparser = ["dep:wasmparser", "wasm-encoder/wasmparser"]

[lib]
name = "wasm_smith"
path = "src/lib.rs"

[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
unnecessary_to_owned = "warn"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.rust]
unsafe_code = "deny"

[package]
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools", "development-tools::testing", "wasm"]
description = "A WebAssembly test case generator"
documentation = "https://docs.rs/wasm-smith"
edition = "2021"
exclude = ["/benches/corpus"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "wasm-smith"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith"
rust-version = "1.76.0"
version = "0.221.0"

[package.metadata.docs.rs]
all-features = true

[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.libfuzzer-sys]
version = "0.4.0"

[[test]]
name = "available_imports"
path = "tests/available_imports.rs"

[[test]]
name = "component"
path = "tests/component.rs"

[[test]]
name = "core"
path = "tests/core.rs"

[[test]]
name = "exports"
path = "tests/exports.rs"