From dc8e5732d71b6f66e730b090ab02bdccc69ec888 Mon Sep 17 00:00:00 2001 From: Henry Date: Tue, 15 Sep 2026 15:23:11 +0200 Subject: feat: initial wasi p1 implementation Signed-off-by: Henry --- Cargo.toml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index a3fdd3b..8f40398 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ publish = false [workspace] resolver = "3" members = ["crates/*"] -default-members = [".", "crates/parser", "crates/tinywasm", "crates/types"] +default-members = [".", "crates/parser", "crates/tinywasm", "crates/types", "crates/wasi"] [workspace.package] version = "0.11.0-pre.0" @@ -23,6 +23,7 @@ categories = ["compilers", "embedded", "no-std", "virtualization", "wasm"] tinywasm = { path = "crates/tinywasm", version = "0.11.0-pre.0", default-features = false } tinywasm-parser = { path = "crates/parser", version = "0.11.0-pre.0", default-features = false } tinywasm-types = { path = "crates/types", version = "0.11.0-pre.0", default-features = false } +tinywasm-wasi = { path = "crates/wasi", version = "0.11.0-pre.0" } anyhow = "1.0" log = "0.4" @@ -37,6 +38,12 @@ wat = "1.259" criterion = { version = "0.8", default-features = false, features = ["cargo_bench_support", "rayon"] } +[workspace.lints.cargo] +unused_dependencies = "allow" # false-positive on libm + +[workspace.lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ["cfg(rust_analyzer)"] } + [[example]] name = "rust" test = false @@ -61,12 +68,13 @@ name = "tinywasm_modes" anyhow.workspace = true criterion.workspace = true pretty_env_logger.workspace = true -tinywasm = { path = "crates/tinywasm" } +tinywasm = { path = "crates/tinywasm", features = ["state"] } tinywasm-parser.workspace = true +tinywasm-wasi.workspace = true wat.workspace = true -[lints.cargo] -unused_dependencies = "allow" # false-positive on libm +[lints] +workspace = true [profile.bench] opt-level = 3 -- cgit v1.3.1