example/wasm-hello-world: fix dependency issue

This commit is contained in:
oars
2025-05-27 16:33:23 +03:00
parent 783ac96ca6
commit 670e462c48

View File

@@ -11,8 +11,8 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]
[dependencies]
darkfi-sdk = { path = "../../src/sdk" }
darkfi-serial = { path = "../../src/serial", features = ["derive", "crypto"] }
darkfi-sdk = { path = "../../src/sdk", features = ["wasm"] }
darkfi-serial = { version = "0.5.0", features = ["derive", "crypto"] }
# We need to disable random using "custom" which makes the crate a noop
# so the wasm32-unknown-unknown target is enabled.
@@ -23,6 +23,6 @@ getrandom = { version = "0.2.8", features = ["custom"] }
default = []
no-entrypoint = []
[lints]
workspace = true
#[lints]
#workspace = true