From e5f234b1604511d0463252ee173caee6e9cd18f4 Mon Sep 17 00:00:00 2001 From: Henry Date: Tue, 25 Aug 2026 18:05:11 +0200 Subject: feat: add support for portable-atomic, add send feature Signed-off-by: Henry --- crates/parser/Cargo.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'crates/parser/Cargo.toml') diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml index 561ac45..042eeda 100644 --- a/crates/parser/Cargo.toml +++ b/crates/parser/Cargo.toml @@ -17,7 +17,18 @@ 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"] -- cgit v1.3.1