summaryrefslogtreecommitdiff
path: root/examples/rust/Cargo.toml
diff options
context:
space:
mode:
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