| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.76.0" |
| 15 |
name = "wasm-encoder" |
| 16 |
version = "0.219.1" |
| 17 |
authors = ["Nick Fitzgerald <[email protected]>"] |
| 18 |
build = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = """ |
| 24 |
A low-level WebAssembly encoder. |
| 25 |
""" |
| 26 |
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder" |
| 27 |
documentation = "https://docs.rs/wasm-encoder" |
| 28 |
readme = "README.md" |
| 29 |
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" |
| 30 |
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder" |
| 31 |
|
| 32 |
[package.metadata.docs.rs] |
| 33 |
all-features = true |
| 34 |
|
| 35 |
[lib] |
| 36 |
name = "wasm_encoder" |
| 37 |
path = "src/lib.rs" |
| 38 |
|
| 39 |
[dependencies.leb128] |
| 40 |
version = "0.2.4" |
| 41 |
|
| 42 |
[dependencies.wasmparser] |
| 43 |
version = "0.219.1" |
| 44 |
features = ["std"] |
| 45 |
optional = true |
| 46 |
default-features = false |
| 47 |
|
| 48 |
[dev-dependencies.anyhow] |
| 49 |
version = "1.0.58" |
| 50 |
|
| 51 |
[dev-dependencies.tempfile] |
| 52 |
version = "3.2.0" |
| 53 |
|
| 54 |
[dev-dependencies.wasmprinter] |
| 55 |
version = "0.219.1" |
| 56 |
default-features = false |
| 57 |
|
| 58 |
[features] |
| 59 |
component-model = ["wasmparser?/component-model"] |
| 60 |
default = ["component-model"] |
| 61 |
|
| 62 |
[lints.clippy] |
| 63 |
clone_on_copy = "warn" |
| 64 |
manual_strip = "warn" |
| 65 |
map_clone = "warn" |
| 66 |
unnecessary_to_owned = "warn" |
| 67 |
|
| 68 |
[lints.clippy.all] |
| 69 |
level = "allow" |
| 70 |
priority = -1 |
| 71 |
|
| 72 |
[lints.rust] |
| 73 |
unsafe_code = "deny" |