Source code
Revision control
Copy as Markdown
Other Tools
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.76.0"
name = "wasm-smith"
version = "0.214.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
exclude = ["/benches/corpus"]
description = "A WebAssembly test case generator"
readme = "README.md"
categories = [
"command-line-utilities",
"development-tools",
"development-tools::testing",
"wasm",
]
license = "Apache-2.0 WITH LLVM-exception"
[[bench]]
name = "corpus"
harness = false
[dependencies.anyhow]
version = "1.0.58"
[dependencies.arbitrary]
version = "1.1.0"
features = ["derive"]
[dependencies.clap]
version = "4.0.0"
features = ["derive"]
optional = true
[dependencies.flagset]
version = "0.4"
[dependencies.indexmap]
version = "2.0.0"
default-features = false
[dependencies.leb128]
version = "0.2.4"
[dependencies.serde]
version = "1.0.166"
features = ["alloc"]
optional = true
default-features = false
[dependencies.serde_derive]
version = "1.0.166"
optional = true
[dependencies.wasm-encoder]
version = "0.214.0"
[dependencies.wasmparser]
version = "0.214.0"
features = [
"std",
"validate",
]
optional = true
default-features = false
[dependencies.wat]
version = "1.214.0"
optional = true
[dev-dependencies.criterion]
version = "0.5.1"
default-features = false
[dev-dependencies.rand]
version = "0.8.4"
features = ["small_rng"]
[dev-dependencies.wasmparser]
version = "0.214.0"
features = [
"std",
"validate",
]
default-features = false
[features]
_internal_cli = [
"clap",
"flagset/serde",
"serde",
"serde_derive",
"wasmparser",
"wat",
]
wasmparser = [
"dep:wasmparser",
"wasm-encoder/wasmparser",
]
[target."cfg(not(target_family = \"wasm\"))".dev-dependencies.libfuzzer-sys]
version = "0.4.0"
[lints.clippy]
all = "allow"
[lints.rust]
unsafe_code = "deny"