summaryrefslogtreecommitdiffstats
path: root/third_party/rust/wasm-smith/Cargo.toml
blob: bebb2807d53258d885044755f1561e4d73ff7cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# 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"
name = "wasm-smith"
version = "0.15.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
exclude = ["/benches/corpus"]
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"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-smith"

[[bench]]
name = "corpus"
harness = false

[dependencies.anyhow]
version = "1.0.58"
optional = true

[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"

[dependencies.leb128]
version = "0.2.4"

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

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

[dependencies.wasm-encoder]
version = "0.40.0"

[dependencies.wasmparser]
version = "0.120.0"
optional = true

[dependencies.wat]
version = "1.0.84"
optional = true

[dev-dependencies.criterion]
version = "0.3.3"

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

[dev-dependencies.wasmparser]
version = "0.120.0"

[features]
_internal_cli = [
    "anyhow",
    "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"