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.219.1"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
build = false
exclude = ["/benches/corpus"]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A WebAssembly test case generator"
documentation = "https://docs.rs/wasm-smith"
readme = "README.md"
categories = [
"command-line-utilities",
"development-tools",
"development-tools::testing",
"wasm",
]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "wasm_smith"
path = "src/lib.rs"
[[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"
[[bench]]
name = "corpus"
path = "benches/corpus.rs"
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.219.1"
default-features = false
[dependencies.wasmparser]
version = "0.219.1"
features = [
"std",
"validate",
]
optional = true
default-features = false
[dependencies.wat]
version = "1.219.1"
optional = true
default-features = false
[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.219.1"
features = [
"std",
"validate",
"features",
]
default-features = false
[dev-dependencies.wasmprinter]
version = "0.219.1"
default-features = false
[dev-dependencies.wat]
version = "1.219.1"
default-features = false
[features]
_internal_cli = [
"clap",
"flagset/serde",
"serde",
"serde_derive",
"wasmparser",
"wat",
]
component-model = ["wasm-encoder/component-model"]
wasmparser = [
"dep:wasmparser",
"wasm-encoder/wasmparser",
]
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.libfuzzer-sys]
version = "0.4.0"
[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"