mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
example/wasm-hello-world: fix dependency issue
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user