[package]
edition = "2024"
rust-version = "1.98"
name = "tinywasm-parser"
version = "0.11.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser and lowering pipeline for TinyWasm"
homepage = "https://tinywasm.dev"
readme = "README.md"
keywords = [
"interpreter",
"no-std",
"tinywasm",
"wasm",
"webassembly",
]
categories = [
"compilers",
"embedded",
"no-std",
"virtualization",
"wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/explodingcamera/tinywasm"
[features]
default = [
"log",
"parallel",
"std",
"validate",
]
log = ["dep:log"]
parallel = ["std"]
portable-atomic = ["tinywasm-types/portable-atomic"]
std = [
"tinywasm-types/std",
"wasmparser/std",
]
validate = [
"wasmparser/features",
"wasmparser/validate",
]
[lib]
name = "tinywasm_parser"
path = "src/lib.rs"
[dependencies.log]
version = "0.4"
optional = true
[dependencies.tinywasm-types]
version = "0.11.0"
default-features = false
[dependencies.wasmparser]
version = "0.259"
features = ["simd"]
default-features = false
[lints.cargo]
unused_dependencies = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(rust_analyzer)"]