Cargo.toml 1.9 KB

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