Cargo.toml 866 B

123456789101112131415161718192021222324252627282930313233343536
  1. [package]
  2. name = "darkfi_dummy_contract"
  3. version = "0.4.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. # 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"] }
  16. [dev-dependencies]
  17. sled = "0.34.7"
  18. darkfi = {path = "../../", features = ["wasm-runtime"]}
  19. simplelog = "0.12.1"
  20. [[example]]
  21. name = "runtime"
  22. path = "src/runtime.rs"
  23. [features]
  24. default = []
  25. no-entrypoint = []
  26. [patch.crates-io]
  27. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  28. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}