Cargo.toml 644 B

12345678910111213141516171819202122232425262728
  1. [package]
  2. name = "wasm_hello_world"
  3. version = "0.0.1"
  4. authors = ["Dyne.org foundation <foundation@dyne.org>"]
  5. license = "AGPL-3.0-only"
  6. edition = "2021"
  7. [workspace]
  8. [lib]
  9. crate-type = ["cdylib", "rlib"]
  10. [dependencies]
  11. darkfi-sdk = { path = "../../src/sdk" }
  12. darkfi-serial = { path = "../../src/serial", features = ["derive", "crypto"] }
  13. # We need to disable random using "custom" which makes the crate a noop
  14. # so the wasm32-unknown-unknown target is enabled.
  15. [target.'cfg(target_arch = "wasm32")'.dependencies]
  16. getrandom = { version = "0.2.8", features = ["custom"] }
  17. [features]
  18. default = []
  19. no-entrypoint = []
  20. [lints]
  21. workspace = true