From d9b20bcd0d6006eb365224b0509d44ef38611d46 Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 2 Aug 2026 19:59:10 +0200 Subject: feat: add validate feature Signed-off-by: Henry --- crates/parser/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/parser/Cargo.toml') diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml index 3e71403..561ac45 100644 --- a/crates/parser/Cargo.toml +++ b/crates/parser/Cargo.toml @@ -13,10 +13,11 @@ categories.workspace = true [dependencies] log = { workspace = true, optional = true } tinywasm-types = { workspace = true } -wasmparser = { workspace = true, features = ["features", "simd", "validate"] } +wasmparser = { workspace = true, features = ["simd"] } [features] -default = ["log", "parallel", "std"] +default = ["log", "parallel", "std", "validate"] log = ["dep:log"] parallel = ["std"] std = ["tinywasm-types/std", "wasmparser/std"] +validate = ["wasmparser/features", "wasmparser/validate"] -- cgit v1.3.1