[package]
name = "tinywasm-parser"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Parser and lowering pipeline for TinyWasm"
homepage.workspace = true
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"]
log = ["dep:log"]
parallel = ["std"]
portable-atomic = ["tinywasm-types/portable-atomic"]
std = ["tinywasm-types/std", "wasmparser/std"]
validate = ["wasmparser/features", "wasmparser/validate"]
[lints]
workspace = true