[dependencies.leb128]
version = "0.2.4"
[dependencies.wasmparser]
default-features = false
features = ["std"]
optional = true
version = "0.220.0"
[dev-dependencies.anyhow]
version = "1.0.58"
[dev-dependencies.tempfile]
version = "3.2.0"
[dev-dependencies.wasmprinter]
default-features = false
version = "0.220.0"
[features]
component-model = ["wasmparser?/component-model"]
default = ["component-model"]
[lib]
name = "wasm_encoder"
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 = ["Nick Fitzgerald <fitzgen@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = """
A low-level WebAssembly encoder.
"""
documentation = "https://docs.rs/wasm-encoder"
edition = "2021"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "wasm-encoder"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-encoder"
rust-version = "1.76.0"
version = "0.220.0"
[package.metadata.docs.rs]
all-features = true