Cargo.toml 746 B

1234567891011121314151617181920212223242526272829
  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.50"
  13. async-trait = { version = "0.1.74", optional = true }
  14. # We need to disable random using "custom" which makes the crate a noop
  15. # so the wasm32-unknown-unknown target is enabled.
  16. [target.'cfg(target_arch = "wasm32")'.dependencies]
  17. getrandom = { version = "0.2.8", features = ["custom"] }
  18. [features]
  19. default = []
  20. no-entrypoint = []
  21. client = [
  22. "darkfi-sdk/async",
  23. "darkfi-serial/async",
  24. ]