Cargo.toml 558 B

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