Cargo.toml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [package]
  2. name = "cashierd"
  3. version = "0.3.0"
  4. edition = "2021"
  5. [dependencies.darkfi]
  6. path = "../../"
  7. features = ["node", "rpc"]
  8. [dependencies]
  9. # Async
  10. smol = "1.2.5"
  11. futures = "0.3.19"
  12. async-std = "1.10.0"
  13. async-trait = "0.1.52"
  14. async-channel = "1.6.1"
  15. async-executor = "1.4.1"
  16. easy-parallel = "3.2.0"
  17. # Crypto
  18. rand = "0.8.4"
  19. # Misc
  20. clap = {version = "3.0.7", features = ["derive"]}
  21. log = "0.4.14"
  22. num_cpus = "1.13.1"
  23. simplelog = "0.11.2"
  24. thiserror = "1.0.30"
  25. url = "2.2.2"
  26. # Encoding and parsing
  27. serde = {version = "1.0.133", features = ["derive"]}
  28. serde_json = "1.0.74"
  29. # Bitcoin bridge dependencies
  30. bdk = {version = "0.15.0", optional = true}
  31. anyhow = {version = "1.0.52", optional = true}
  32. bitcoin = {version = "0.27.1", optional = true}
  33. secp256k1 = {version = "0.20.1", default-features = false, features = ["rand-std"], optional = true}
  34. # Ethereum bridge dependencies
  35. hex = {version = "0.4.3", optional = true}
  36. hash-db = {version = "0.15.2", optional = true}
  37. lazy_static = {version = "1.4.0", optional = true}
  38. keccak-hasher = {version = "0.15.3", optional = true}
  39. num-bigint = {version = "0.4.3", features = ["rand", "serde"], optional = true}
  40. # Solana bridge dependencies
  41. native-tls = {version = "0.2.8", optional = true}
  42. async-native-tls = {version = "0.4.0", optional = true}
  43. solana-client = {version = "1.8.12", optional = true}
  44. solana-sdk = {version = "1.8.12", optional = true}
  45. spl-associated-token-account = {version = "1.0.3", features = ["no-entrypoint"], optional = true}
  46. spl-token = {version = "3.2.0", features = ["no-entrypoint"], optional = true}
  47. tungstenite = {version = "0.16.0", optional = true}
  48. [features]
  49. btc = [
  50. "anyhow",
  51. "bdk",
  52. "bitcoin",
  53. "secp256k1",
  54. ]
  55. eth = [
  56. "num-bigint",
  57. "keccak-hasher",
  58. "hash-db",
  59. "lazy_static",
  60. "hex",
  61. ]
  62. sol = [
  63. "async-native-tls",
  64. "native-tls",
  65. "solana-client",
  66. "solana-sdk",
  67. "spl-associated-token-account",
  68. "spl-token",
  69. "tungstenite",
  70. ]