Cargo.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [package]
  2. name = "swapd"
  3. version = "0.1.0"
  4. homepage = "https://dark.fi"
  5. description = "Atomic Swap Daemon"
  6. authors = ["Dyne.org foundation <foundation@dyne.org>"]
  7. repository = "https://codeberg.org/darkrenaissance/swapd"
  8. license = "AGPL-3.0-only"
  9. edition = "2021"
  10. [dependencies]
  11. darkfi = { git = "https://github.com/darkrenaissance/darkfi", features = ["async-daemonize", "async-serial", "system", "util", "net", "rpc", "sled"] }
  12. darkfi-serial = { git = "https://github.com/darkrenaissance/darkfi", features = ["async"] }
  13. darkfi-sdk = { git = "https://github.com/darkrenaissance/darkfi" }
  14. drk = { git = "https://github.com/darkrenaissance/darkfi" }
  15. # Misc
  16. log = "0.4.21"
  17. # Encoding
  18. url = "2.5.0"
  19. # Database
  20. sled = "0.34.7"
  21. # Daemon
  22. easy-parallel = "3.3.1"
  23. signal-hook-async-std = "0.2.2"
  24. signal-hook = "0.3.17"
  25. simplelog = "0.12.2"
  26. smol = "1.3.0"
  27. # Argument parsing
  28. serde = {version = "1.0.197", features = ["derive"]}
  29. structopt = "0.3.26"
  30. structopt-toml = "0.5.1"
  31. async-watch = "0.3.1"
  32. ethers = { version = "2.0", features = ["ethers-solc", "ws"] }
  33. thiserror = "1.0.57"
  34. [dev-dependencies]
  35. swapd = { path = ".", features = ["test-utils"] }
  36. async-std = {version = "1.12.0", features = ["attributes", "tokio1"]}
  37. [features]
  38. default = []
  39. test-utils = []
  40. [patch.crates-io]
  41. halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
  42. halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
  43. [patch."https://github.com/darkrenaissance/darkfi"]
  44. darkfi = { path = "/home/e/darkfi" }
  45. darkfi-serial = { path = "/home/e/darkfi/src/serial" }
  46. darkfi-sdk = { path = "/home/e/darkfi/src/sdk" }
  47. drk = { path = "/home/e/darkfi/bin/drk" }
  48. #darkfi = { git = "https://github.com/noot/darkfi", branch = "fix-include-bytes" }
  49. #darkfi-serial = { git = "https://github.com/noot/darkfi", branch = "fix-include-bytes" }
  50. #drk = { git = "https://github.com/noot/darkfi", branch = "fix-include-bytes" }