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 = "wast"
version = "219.0.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Customizable Rust parsers for the WebAssembly Text formats WAT and WAST
"""
documentation = "https://docs.rs/wast"
readme = "README.md"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "wast"
path = "src/lib.rs"
[[test]]
name = "annotations"
path = "tests/annotations.rs"
[[test]]
name = "comments"
path = "tests/comments.rs"
[[test]]
name = "parse-fail"
path = "tests/parse-fail.rs"
harness = false
[[test]]
name = "recursive"
path = "tests/recursive.rs"
[dependencies.bumpalo]
version = "3.14.0"
[dependencies.gimli]
version = "0.30.0"
optional = true
[dependencies.leb128]
version = "0.2.4"
[dependencies.memchr]
version = "2.4.1"
[dependencies.unicode-width]
version = "0.1.9"
[dependencies.wasm-encoder]
version = "0.219.1"
default-features = false
[dev-dependencies.anyhow]
version = "1.0.58"
[dev-dependencies.libtest-mimic]
version = "0.7.0"
[dev-dependencies.rand]
version = "0.8.4"
features = ["small_rng"]
[features]
component-model = [
"wasm-module",
"wasm-encoder/component-model",
]
default = [
"wasm-module",
"component-model",
]
dwarf = ["dep:gimli"]
wasm-module = []
[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"