Cargo.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. [package]
  2. name = "cashierd"
  3. version = "0.3.0"
  4. edition = "2021"
  5. [dependencies.darkfi]
  6. path = "../../"
  7. features = ["node", "rpc", "cli"]
  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. # Encoding and parsing
  26. serde = {version = "1.0.133", features = ["derive"], optional = true}
  27. serde_json = "1.0.74"
  28. # Bitcoin bridge dependencies
  29. bdk = {version = "0.15.0", optional = true}
  30. anyhow = {version = "1.0.52", optional = true}
  31. bitcoin = {version = "0.27.1", optional = true}
  32. secp256k1 = {version = "0.20.1", default-features = false, features = ["rand-std"], optional = true}
  33. # Ethereum bridge dependencies
  34. hex = {version = "0.4.3", optional = true}
  35. hash-db = {version = "0.15.2", optional = true}
  36. lazy_static = {version = "1.4.0", optional = true}
  37. keccak-hasher = {version = "0.15.3", optional = true}
  38. num-bigint = {version = "0.4.3", features = ["rand", "serde"], optional = true}
  39. # Solana bridge dependencies
  40. native-tls = {version = "0.2.8", optional = true}
  41. async-native-tls = {version = "0.4.0", optional = true}
  42. solana-client = {version = "1.8.12", optional = true}
  43. solana-sdk = {version = "1.8.12", optional = true}
  44. spl-associated-token-account = {version = "1.0.3", features = ["no-entrypoint"], optional = true}
  45. spl-token = {version = "3.2.0", features = ["no-entrypoint"], optional = true}
  46. tungstenite = {version = "0.16.0", optional = true}
  47. [features]
  48. btc = [
  49. "anyhow",
  50. "bdk",
  51. "bitcoin",
  52. "secp256k1",
  53. ]
  54. eth = [
  55. "serde",
  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. "serde",
  66. "solana-client",
  67. "solana-sdk",
  68. "spl-associated-token-account",
  69. "spl-token",
  70. "tungstenite",
  71. ]