diff options
| author | Mica White <botahamec@outlook.com> | 2026-10-31 11:10:49 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-10-31 11:10:49 -0400 |
| commit | 264ea48cc8c6dd9c3c9e0fe1a559252863fc9962 (patch) | |
| tree | 84a4a58de14442f4fcfa06bd0d82480508f82759 /crates/parser/Cargo.toml | |
| parent | 7877eca4e8be283e7c51168ee3a3b05d9000f39c (diff) | |
| parent | b45a98a85c776d956a797773acd2f198c06b40ed (diff) | |
Merge branch 'main' into bota-tortuise
Diffstat (limited to 'crates/parser/Cargo.toml')
| -rw-r--r-- | crates/parser/Cargo.toml | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml index 3e71403..afedeed 100644 --- a/crates/parser/Cargo.toml +++ b/crates/parser/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true edition.workspace = true rust-version.workspace = true description = "Parser and lowering pipeline for TinyWasm" -readme = "README.md" +homepage.workspace = true repository.workspace = true license.workspace = true keywords.workspace = true @@ -13,10 +13,25 @@ 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"] + +# 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"] + +[lints] +workspace = true |
