Debian Codegraph @

third_party/rust/wast/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 = "wast"
16 version = "219.0.1"
17 authors = ["Alex Crichton <[email protected]>"]
18 build = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = """
24 Customizable Rust parsers for the WebAssembly Text formats WAT and WAST
25 """
26 homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast"
27 documentation = "https://docs.rs/wast"
28 readme = "README.md"
29 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
30 repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast"
31
32 [package.metadata.docs.rs]
33 all-features = true
34
35 [lib]
36 name = "wast"
37 path = "src/lib.rs"
38
39 [[test]]
40 name = "annotations"
41 path = "tests/annotations.rs"
42
43 [[test]]
44 name = "comments"
45 path = "tests/comments.rs"
46
47 [[test]]
48 name = "parse-fail"
49 path = "tests/parse-fail.rs"
50 harness = false
51
52 [[test]]
53 name = "recursive"
54 path = "tests/recursive.rs"
55
56 [dependencies.bumpalo]
57 version = "3.14.0"
58
59 [dependencies.gimli]
60 version = "0.30.0"
61 optional = true
62
63 [dependencies.leb128]
64 version = "0.2.4"
65
66 [dependencies.memchr]
67 version = "2.4.1"
68
69 [dependencies.unicode-width]
70 version = "0.1.9"
71
72 [dependencies.wasm-encoder]
73 version = "0.219.1"
74 default-features = false
75
76 [dev-dependencies.anyhow]
77 version = "1.0.58"
78
79 [dev-dependencies.libtest-mimic]
80 version = "0.7.0"
81
82 [dev-dependencies.rand]
83 version = "0.8.4"
84 features = ["small_rng"]
85
86 [features]
87 component-model = [
88 "wasm-module",
89 "wasm-encoder/component-model",
90 ]
91 default = [
92 "wasm-module",
93 "component-model",
94 ]
95 dwarf = ["dep:gimli"]
96 wasm-module = []
97
98 [lints.clippy]
99 clone_on_copy = "warn"
100 manual_strip = "warn"
101 map_clone = "warn"
102 unnecessary_to_owned = "warn"
103
104 [lints.clippy.all]
105 level = "allow"
106 priority = -1
107
108 [lints.rust]
109 unsafe_code = "deny"