| # 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 = "wat" |
| version = "1.219.0" |
| authors = ["Alex Crichton <[email protected]>"] |
| build = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = """ |
| Rust parser for the WebAssembly Text format, WAT |
| """ |
| homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat" |
| documentation = "https://docs.rs/wat" |
| readme = "README.md" |
| license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" |
| repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| |
| [lib] |
| name = "wat" |
| path = "src/lib.rs" |
| |
| [dependencies.wast] |
| version = "219.0.0" |
| features = ["wasm-module"] |
| default-features = false |
| |
| [features] |
| component-model = ["wast/component-model"] |
| default = ["component-model"] |
| dwarf = ["wast/dwarf"] |
| |
| [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" |