wit-parser 0.215.0

Tooling for parsing `*.wit` files and working with their contents.
Documentation
[dependencies.anyhow]
version = "1.0.58"

[dependencies.id-arena]
version = "2"

[dependencies.indexmap]
default-features = false
features = ["std"]
version = "2.0.0"

[dependencies.log]
version = "0.4.17"

[dependencies.semver]
default-features = false
version = "1.0.0"

[dependencies.serde]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.166"

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

[dependencies.serde_json]
optional = true
version = "1"

[dependencies.unicode-xid]
version = "0.2.2"

[dependencies.wasmparser]
default-features = false
features = ["std", "validate"]
optional = true
version = "0.215.0"

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

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.libtest-mimic]
version = "0.7.0"

[dev-dependencies.pretty_assertions]
version = "1.3.0"

[dev-dependencies.serde_json]
version = "1"

[features]
decoding = ["dep:wasmparser"]
default = ["serde", "decoding"]
serde = ["dep:serde", "dep:serde_derive", "indexmap/serde", "serde_json"]
wat = ["decoding", "dep:wat"]

[lib]
name = "wit_parser"
path = "src/lib.rs"

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

[package]
authors = ["Alex Crichton <alex@alexcrichton.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = """
Tooling for parsing `*.wit` files and working with their contents.
"""
documentation = "https://docs.rs/wit-parser"
edition = "2021"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-parser"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "wit-parser"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-parser"
rust-version = "1.76.0"
version = "0.215.0"

[[test]]
harness = false
name = "all"
path = "tests/all.rs"