| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.76.0" |
| 15 |
name = "wasm-smith" |
| 16 |
version = "0.219.1" |
| 17 |
authors = ["Nick Fitzgerald <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = ["/benches/corpus"] |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "A WebAssembly test case generator" |
| 25 |
documentation = "https://docs.rs/wasm-smith" |
| 26 |
readme = "README.md" |
| 27 |
categories = [ |
| 28 |
"command-line-utilities", |
| 29 |
"development-tools", |
| 30 |
"development-tools::testing", |
| 31 |
"wasm", |
| 32 |
] |
| 33 |
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" |
| 34 |
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith" |
| 35 |
|
| 36 |
[package.metadata.docs.rs] |
| 37 |
all-features = true |
| 38 |
|
| 39 |
[lib] |
| 40 |
name = "wasm_smith" |
| 41 |
path = "src/lib.rs" |
| 42 |
|
| 43 |
[[test]] |
| 44 |
name = "available_imports" |
| 45 |
path = "tests/available_imports.rs" |
| 46 |
|
| 47 |
[[test]] |
| 48 |
name = "component" |
| 49 |
path = "tests/component.rs" |
| 50 |
|
| 51 |
[[test]] |
| 52 |
name = "core" |
| 53 |
path = "tests/core.rs" |
| 54 |
|
| 55 |
[[test]] |
| 56 |
name = "exports" |
| 57 |
path = "tests/exports.rs" |
| 58 |
|
| 59 |
[[bench]] |
| 60 |
name = "corpus" |
| 61 |
path = "benches/corpus.rs" |
| 62 |
harness = false |
| 63 |
|
| 64 |
[dependencies.anyhow] |
| 65 |
version = "1.0.58" |
| 66 |
|
| 67 |
[dependencies.arbitrary] |
| 68 |
version = "1.1.0" |
| 69 |
features = ["derive"] |
| 70 |
|
| 71 |
[dependencies.clap] |
| 72 |
version = "4.0.0" |
| 73 |
features = ["derive"] |
| 74 |
optional = true |
| 75 |
|
| 76 |
[dependencies.flagset] |
| 77 |
version = "0.4" |
| 78 |
|
| 79 |
[dependencies.indexmap] |
| 80 |
version = "2.0.0" |
| 81 |
default-features = false |
| 82 |
|
| 83 |
[dependencies.leb128] |
| 84 |
version = "0.2.4" |
| 85 |
|
| 86 |
[dependencies.serde] |
| 87 |
version = "1.0.166" |
| 88 |
features = ["alloc"] |
| 89 |
optional = true |
| 90 |
default-features = false |
| 91 |
|
| 92 |
[dependencies.serde_derive] |
| 93 |
version = "1.0.166" |
| 94 |
optional = true |
| 95 |
|
| 96 |
[dependencies.wasm-encoder] |
| 97 |
version = "0.219.1" |
| 98 |
default-features = false |
| 99 |
|
| 100 |
[dependencies.wasmparser] |
| 101 |
version = "0.219.1" |
| 102 |
features = [ |
| 103 |
"std", |
| 104 |
"validate", |
| 105 |
] |
| 106 |
optional = true |
| 107 |
default-features = false |
| 108 |
|
| 109 |
[dependencies.wat] |
| 110 |
version = "1.219.1" |
| 111 |
optional = true |
| 112 |
default-features = false |
| 113 |
|
| 114 |
[dev-dependencies.criterion] |
| 115 |
version = "0.5.1" |
| 116 |
default-features = false |
| 117 |
|
| 118 |
[dev-dependencies.rand] |
| 119 |
version = "0.8.4" |
| 120 |
features = ["small_rng"] |
| 121 |
|
| 122 |
[dev-dependencies.wasmparser] |
| 123 |
version = "0.219.1" |
| 124 |
features = [ |
| 125 |
"std", |
| 126 |
"validate", |
| 127 |
"features", |
| 128 |
] |
| 129 |
default-features = false |
| 130 |
|
| 131 |
[dev-dependencies.wasmprinter] |
| 132 |
version = "0.219.1" |
| 133 |
default-features = false |
| 134 |
|
| 135 |
[dev-dependencies.wat] |
| 136 |
version = "1.219.1" |
| 137 |
default-features = false |
| 138 |
|
| 139 |
[features] |
| 140 |
_internal_cli = [ |
| 141 |
"clap", |
| 142 |
"flagset/serde", |
| 143 |
"serde", |
| 144 |
"serde_derive", |
| 145 |
"wasmparser", |
| 146 |
"wat", |
| 147 |
] |
| 148 |
component-model = ["wasm-encoder/component-model"] |
| 149 |
wasmparser = [ |
| 150 |
"dep:wasmparser", |
| 151 |
"wasm-encoder/wasmparser", |
| 152 |
] |
| 153 |
|
| 154 |
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies.libfuzzer-sys] |
| 155 |
version = "0.4.0" |
| 156 |
|
| 157 |
[lints.clippy] |
| 158 |
clone_on_copy = "warn" |
| 159 |
manual_strip = "warn" |
| 160 |
map_clone = "warn" |
| 161 |
unnecessary_to_owned = "warn" |
| 162 |
|
| 163 |
[lints.clippy.all] |
| 164 |
level = "allow" |
| 165 |
priority = -1 |
| 166 |
|
| 167 |
[lints.rust] |
| 168 |
unsafe_code = "deny" |