summaryrefslogtreecommitdiff
path: root/crates/parser/Cargo.toml
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-08-02 19:59:10 +0200
committerHenry <mail@henrygressmann.de>2026-08-02 19:59:10 +0200
commitd9b20bcd0d6006eb365224b0509d44ef38611d46 (patch)
treefbae096a7b1c8bf8dfd16af27b5854dabfaee0f2 /crates/parser/Cargo.toml
parentb6a6cefd5bd8e2e488b03024c18de3cd576d3046 (diff)
feat: add validate feature
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/Cargo.toml')
-rw-r--r--crates/parser/Cargo.toml5
1 files changed, 3 insertions, 2 deletions
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"]