Debian Codegraph @

third_party/rust/wasmparser/Cargo.toml

raw
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 = "wasmparser"
16 version = "0.219.1"
17 authors = ["Yury Delendik <[email protected]>"]
18 build = false
19 exclude = ["benches/*.wasm"]
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = """
25 A simple event-driven library for parsing WebAssembly binary files.
26 """
27 homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser"
28 readme = "README.md"
29 keywords = [
30 "parser",
31 "WebAssembly",
32 "wasm",
33 ]
34 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
35 repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser"
36
37 [package.metadata.docs.rs]
38 all-features = true
39
40 [lib]
41 name = "wasmparser"
42 path = "src/lib.rs"
43
44 [[example]]
45 name = "simple"
46 path = "examples/simple.rs"
47
48 [[test]]
49 name = "big-module"
50 path = "tests/big-module.rs"
51
52 [[bench]]
53 name = "benchmark"
54 path = "benches/benchmark.rs"
55 harness = false
56
57 [dependencies.ahash]
58 version = "0.8.11"
59 optional = true
60 default-features = false
61
62 [dependencies.bitflags]
63 version = "2.4.1"
64
65 [dependencies.hashbrown]
66 version = "0.14.3"
67 features = ["ahash"]
68 optional = true
69 default-features = false
70
71 [dependencies.indexmap]
72 version = "2.0.0"
73 optional = true
74 default-features = false
75
76 [dependencies.semver]
77 version = "1.0.0"
78 optional = true
79 default-features = false
80
81 [dependencies.serde]
82 version = "1.0.166"
83 features = ["alloc"]
84 optional = true
85 default-features = false
86
87 [dev-dependencies.anyhow]
88 version = "1.0.58"
89
90 [dev-dependencies.criterion]
91 version = "0.5.1"
92 default-features = false
93
94 [dev-dependencies.env_logger]
95 version = "0.11"
96
97 [dev-dependencies.log]
98 version = "0.4.17"
99
100 [dev-dependencies.once_cell]
101 version = "1.13.0"
102
103 [dev-dependencies.rayon]
104 version = "1.3"
105
106 [features]
107 component-model = []
108 default = [
109 "std",
110 "validate",
111 "serde",
112 "features",
113 "component-model",
114 ]
115 features = []
116 no-hash-maps = []
117 serde = [
118 "dep:serde",
119 "indexmap/serde",
120 "hashbrown/serde",
121 ]
122 std = ["indexmap/std"]
123 validate = [
124 "dep:indexmap",
125 "dep:semver",
126 "dep:hashbrown",
127 "dep:ahash",
128 ]
129
130 [lints.clippy]
131 clone_on_copy = "warn"
132 manual_strip = "warn"
133 map_clone = "warn"
134 unnecessary_to_owned = "warn"
135
136 [lints.clippy.all]
137 level = "allow"
138 priority = -1
139
140 [lints.rust]
141 unsafe_code = "deny"