Cargo.toml 717 B

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "smart-contract"
  3. version = "0.3.0"
  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. [profile.release]
  11. lto = true
  12. codegen-units = 1
  13. overflow-checks = true
  14. [dependencies]
  15. darkfi-sdk = { path = "../../src/sdk" }
  16. #darkfi = { path = "../../", features = [] }
  17. darkfi-serial = { path = "../../src/serial" }
  18. # We need to disable random using "custom" which makes the crate a noop
  19. # so the wasm32-unknown-unknown target is enabled.
  20. getrandom = { version = "0.2.8", features = ["custom"] }
  21. [dev-dependencies]
  22. darkfi = { path = "../../", features = ["wasm-runtime"] }
  23. simplelog = "0.12.0"
  24. sled = "0.34.7"