Cargo.toml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [package]
  2. name = "cashierd"
  3. version = "0.3.0"
  4. homepage = "https://dark.fi"
  5. description = "cashier daemon for DarkFi"
  6. authors = ["Dyne.org foundation <foundation@dyne.org>"]
  7. repository = "https://github.com/darkrenaissance/darkfi"
  8. license = "AGPL-3.0-only"
  9. edition = "2021"
  10. [dependencies.darkfi]
  11. path = "../../"
  12. features = ["wallet", "node", "rpc"]
  13. [dependencies]
  14. # Async
  15. smol = "1.2.5"
  16. futures = "0.3.24"
  17. async-std = "1.12.0"
  18. async-trait = "0.1.57"
  19. async-channel = "1.7.1"
  20. async-executor = "1.4.1"
  21. easy-parallel = "3.2.0"
  22. # Crypto
  23. rand = "0.8.5"
  24. # Misc
  25. clap = {version = "3.2.20", features = ["derive"]}
  26. log = "0.4.17"
  27. num_cpus = "1.13.1"
  28. simplelog = "0.12.0"
  29. thiserror = "1.0.37"
  30. url = "2.3.1"
  31. fxhash = "0.2.1"
  32. # Encoding and parsing
  33. serde = {version = "1.0.145", features = ["derive"]}
  34. serde_json = "1.0.85"
  35. # Bitcoin bridge dependencies
  36. bdk = {version = "0.22.0", optional = true}
  37. anyhow = {version = "1.0.65", optional = true}
  38. bitcoin = {version = "0.29.1", optional = true}
  39. secp256k1 = {version = "0.24.0", default-features = false, features = ["rand-std"], optional = true}
  40. # Ethereum bridge dependencies
  41. hex = {version = "0.4.3", optional = true}
  42. hash-db = {version = "0.15.2", optional = true}
  43. lazy_static = {version = "1.4.0", optional = true}
  44. keccak-hasher = {version = "0.15.3", optional = true}
  45. num-bigint = {version = "0.4.3", features = ["rand", "serde"], optional = true}
  46. # Solana bridge dependencies
  47. native-tls = {version = "0.2.10", optional = true}
  48. async-native-tls = {version = "0.4.0", optional = true}
  49. solana-client = {version = "1.14.5", optional = true}
  50. solana-sdk = {version = "1.14.5", optional = true}
  51. spl-associated-token-account = {version = "1.1.1", features = ["no-entrypoint"], optional = true}
  52. spl-token = {version = "3.5.0", features = ["no-entrypoint"], optional = true}
  53. tungstenite = {version = "0.17.3", optional = true}
  54. [features]
  55. btc = [
  56. "anyhow",
  57. "bdk",
  58. "bitcoin",
  59. "secp256k1",
  60. ]
  61. eth = [
  62. "num-bigint",
  63. "keccak-hasher",
  64. "hash-db",
  65. "lazy_static",
  66. "hex",
  67. ]
  68. sol = [
  69. "async-native-tls",
  70. "native-tls",
  71. "solana-client",
  72. "solana-sdk",
  73. "spl-associated-token-account",
  74. "spl-token",
  75. "tungstenite",
  76. ]