diff options
Diffstat (limited to 'crates/parser/Cargo.toml')
| -rw-r--r-- | crates/parser/Cargo.toml | 11 |
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"] |
