summaryrefslogtreecommitdiff
path: root/crates/parser/Cargo.toml
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-08-25 18:05:11 +0200
committerHenry <mail@henrygressmann.de>2026-08-25 18:06:47 +0200
commite5f234b1604511d0463252ee173caee6e9cd18f4 (patch)
tree6bd77faa802b052a206851e69b4a60f393176572 /crates/parser/Cargo.toml
parent11052c6c2092db3388e33286ddba0f110b070bee (diff)
feat: add support for portable-atomic, add send feature
Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'crates/parser/Cargo.toml')
-rw-r--r--crates/parser/Cargo.toml11
1 files changed, 11 insertions, 0 deletions
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"]