summaryrefslogtreecommitdiff
path: root/examples/rust
diff options
context:
space:
mode:
authorHenry <mail@henrygressmann.de>2026-08-29 14:34:58 +0200
committerHenry <mail@henrygressmann.de>2026-08-29 14:34:58 +0200
commitbb17468c990ba2ef819e5d3349539bb7a4aaedbd (patch)
tree2ac9acd6c213340c394ce3126c6025d54121db4e /examples/rust
parente73c92160041ed0db5bda81e5c55b0e4c6293a87 (diff)
chore: improve optimizer and simplify function execution
- add stack-constant and fused local-update rewrites - split host and Wasm function storage and execution paths - add the default full feature - recursively discover WAST test files Signed-off-by: Henry <mail@henrygressmann.de>
Diffstat (limited to 'examples/rust')
-rw-r--r--examples/rust/Cargo.toml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml
index 6701074..e0bdba6 100644
--- a/examples/rust/Cargo.toml
+++ b/examples/rust/Cargo.toml
@@ -35,17 +35,17 @@ name = "argon2id"
path = "src/argon2id.rs"
[dependencies]
-argon2 = { version = "0.5" }
+argon2 = { version = "0.6", default-features = false, features = ["alloc"] }
dlmalloc = { version = "0.2", features = ["global"] }
tinywasm = { path = "../../crates/tinywasm", default-features = false, features = ["archive", "parser"] }
-[lints.clippy]
-missing_safety_doc = "allow"
-
[features]
default = ["std"]
std = ["tinywasm/std"]
+[lints.clippy]
+missing_safety_doc = "allow"
+
[profile.wasm]
inherits = "release"
opt-level = 3