Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [package]
  2. name = "darkmap"
  3. version = "0.1.0"
  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 = "../darkfi-master/src/sdk" }
  11. darkfi-serial = { path = "../darkfi-master/src/serial", features = ["derive", "crypto"] }
  12. thiserror = "1.0.40"
  13. chacha20poly1305 = { version = "0.10.1", optional = true }
  14. darkfi = { path = "../darkfi-master", features = ["zk", "rpc", "blockchain"], optional = true }
  15. log = { version = "0.4.17", optional = true }
  16. rand = { version = "0.8.5", optional = true }
  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",
  24. "rand",
  25. "chacha20poly1305",
  26. "log",
  27. ]
  28. [patch.crates-io]
  29. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  30. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
  31. arti-client = {git="https://gitlab.torproject.org/tpo/core/arti", rev="77b0dc2edc93c9ad09b833b176e0f7066f017dd1"}
  32. tor-hscrypto = {git="https://gitlab.torproject.org/tpo/core/arti", rev="77b0dc2edc93c9ad09b833b176e0f7066f017dd1"}