summaryrefslogtreecommitdiff
path: root/examples/rust/Cargo.toml
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2026-10-31 11:10:49 -0400
committerMica White <botahamec@outlook.com>2026-10-31 11:10:49 -0400
commit264ea48cc8c6dd9c3c9e0fe1a559252863fc9962 (patch)
tree84a4a58de14442f4fcfa06bd0d82480508f82759 /examples/rust/Cargo.toml
parent7877eca4e8be283e7c51168ee3a3b05d9000f39c (diff)
parentb45a98a85c776d956a797773acd2f198c06b40ed (diff)
Merge branch 'main' into bota-tortuise
Diffstat (limited to 'examples/rust/Cargo.toml')
-rw-r--r--examples/rust/Cargo.toml16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml
index efce27a..74d38e7 100644
--- a/examples/rust/Cargo.toml
+++ b/examples/rust/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "rust-wasm-examples"
-edition = "2021"
+edition = "2024"
publish = false
# treat this as an independent package
@@ -11,7 +11,7 @@ name = "hello"
path = "src/hello.rs"
[[bin]]
-name = "host_fn"
+name = "host-fn"
path = "src/host_fn.rs"
[[bin]]
@@ -23,7 +23,7 @@ name = "tinywasm"
path = "src/tinywasm.rs"
[[bin]]
-name = "tinywasm_no_std"
+name = "tinywasm-no-std"
path = "src/tinywasm_no_std.rs"
[[bin]]
@@ -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"
-] }
+tinywasm = { path = "../../crates/tinywasm", default-features = false, features = ["archive", "parser"] }
[features]
default = ["std"]
std = ["tinywasm/std"]
+[lints.clippy]
+missing_safety_doc = "allow"
+
[profile.wasm]
inherits = "release"
opt-level = 3