| # 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 = "wasm-encoder" |
| version = "0.216.0" |
| authors = ["Nick Fitzgerald <[email protected]>"] |
| build = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = """ |
| A low-level WebAssembly encoder. |
| """ |
| homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder" |
| documentation = "https://docs.rs/wasm-encoder" |
| 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/wasm-encoder" |
| |
| [package.metadata.docs.rs] |
| all-features = true |
| |
| [lib] |
| name = "wasm_encoder" |
| path = "src/lib.rs" |
| |
| [dependencies.leb128] |
| version = "0.2.4" |
| |
| [dependencies.wasmparser] |
| version = "0.216.0" |
| features = ["std"] |
| optional = true |
| default-features = false |
| |
| [dev-dependencies.anyhow] |
| version = "1.0.58" |
| |
| [dev-dependencies.tempfile] |
| version = "3.2.0" |
| |
| [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" |