blob: f868beb63cdd4261fde5ac1ebf69e5a35b567649 (
plain)
[package]
name = "tinywasm-parser"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Parser and lowering pipeline for TinyWasm"
repository.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
[dependencies]
log = { workspace = true, optional = true }
tinywasm-types = { workspace = true }
wasmparser = { workspace = true, features = ["simd"] }
[features]
default = ["log", "parallel", "std", "validate"]
# enable integration with the log crate
log = ["dep:log"]
# parse and validate function bodies in parallel (requires std)
parallel = ["std"]
# support targets without native atomic CAS
portable-atomic = ["tinywasm-types/portable-atomic"]
# enable standard library support
std = ["tinywasm-types/std", "wasmparser/std"]
# validate WebAssembly while parsing
validate = ["wasmparser/features", "wasmparser/validate"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(rust_analyzer)"] }
|