# 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 = "wit-parser" version = "0.210.0" authors = ["Alex Crichton "] description = """ Tooling for parsing `*.wit` files and working with their contents. """ homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-parser" documentation = "https://docs.rs/wit-parser" readme = "README.md" license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wit-parser" [[test]] name = "all" harness = false [dependencies.anyhow] version = "1.0.58" [dependencies.id-arena] version = "2" [dependencies.indexmap] version = "2.0.0" features = ["std"] default-features = false [dependencies.log] version = "0.4.17" [dependencies.semver] version = "1.0.0" default-features = false [dependencies.serde] version = "1.0.166" features = ["alloc"] optional = true default-features = false [dependencies.serde_derive] version = "1.0.166" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.unicode-xid] version = "0.2.2" [dependencies.wasmparser] version = "0.210.0" features = [ "std", "validate", ] optional = true default-features = false [dependencies.wat] version = "1.210.0" optional = true [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", ] [lints.clippy] all = "allow" [lints.rust] unsafe_code = "deny"