Cargo.toml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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.3.0"
  16. futures = "0.3.25"
  17. async-std = "1.12.0"
  18. async-trait = "0.1.59"
  19. async-channel = "1.8.0"
  20. async-executor = "1.5.0"
  21. easy-parallel = "3.2.0"
  22. # Crypto
  23. rand = "0.8.5"
  24. # Misc
  25. clap = {version = "4.0.29", features = ["derive"]}
  26. log = "0.4.17"
  27. num_cpus = "1.14.0"
  28. simplelog = "0.12.0"
  29. thiserror = "1.0.37"
  30. url = "2.3.1"
  31. # Encoding and parsing
  32. serde = {version = "1.0.150", features = ["derive"]}
  33. serde_json = "1.0.89"
  34. # Bitcoin bridge dependencies
  35. bdk = {version = "0.25.0", optional = true}
  36. anyhow = {version = "1.0.66", optional = true}
  37. bitcoin = {version = "0.29.1", optional = true}
  38. secp256k1 = {version = "0.25.0", default-features = false, features = ["rand-std"], optional = true}
  39. # Ethereum bridge dependencies
  40. hex = {version = "0.4.3", optional = true}
  41. hash-db = {version = "0.15.2", optional = true}
  42. lazy_static = {version = "1.4.0", optional = true}
  43. keccak-hasher = {version = "0.15.3", optional = true}
  44. num-bigint = {version = "0.4.3", features = ["rand", "serde"], optional = true}
  45. # Solana bridge dependencies
  46. native-tls = {version = "0.2.11", optional = true}
  47. async-native-tls = {version = "0.4.0", optional = true}
  48. solana-client = {version = "1.14.10", optional = true}
  49. solana-sdk = {version = "1.14.10", optional = true}
  50. spl-associated-token-account = {version = "1.1.2", features = ["no-entrypoint"], optional = true}
  51. spl-token = {version = "3.5.0", features = ["no-entrypoint"], optional = true}
  52. tungstenite = {version = "0.18.0", optional = true}
  53. [features]
  54. btc = [
  55. "anyhow",
  56. "bdk",
  57. "bitcoin",
  58. "secp256k1",
  59. ]
  60. eth = [
  61. "num-bigint",
  62. "keccak-hasher",
  63. "hash-db",
  64. "lazy_static",
  65. "hex",
  66. ]
  67. sol = [
  68. "async-native-tls",
  69. "native-tls",
  70. "solana-client",
  71. "solana-sdk",
  72. "spl-associated-token-account",
  73. "spl-token",
  74. "tungstenite",
  75. ]