Cargo.toml 769 B

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "darkfi_deployooor_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 = "../../sdk" }
  11. darkfi-serial = { path = "../../serial", features = ["derive", "crypto"] }
  12. thiserror = "1.0.56"
  13. wasmparser = "0.118.1"
  14. async-trait = { version = "0.1.77", optional = true }
  15. # We need to disable random using "custom" which makes the crate a noop
  16. # so the wasm32-unknown-unknown target is enabled.
  17. [target.'cfg(target_arch = "wasm32")'.dependencies]
  18. getrandom = { version = "0.2.8", features = ["custom"] }
  19. [features]
  20. default = []
  21. no-entrypoint = []
  22. client = [
  23. "darkfi-sdk/async",
  24. "darkfi-serial/async",
  25. ]