Cargo.toml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. [package]
  2. name = "cashier"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. darkfi = {path= "../../", features = ["node", "chain"]}
  8. # Encoding and parsing
  9. serde_json = "1.0.72"
  10. serde = {version = "1.0.130", features = ["derive"]}
  11. hex = "0.4.3"
  12. url = "2.2.2"
  13. # Utilities
  14. clap = { version = "3.0.0", features = ["derive"] }
  15. log = "0.4.14"
  16. simplelog = "0.11.1"
  17. thiserror = "1.0.30"
  18. rand = "0.8.4"
  19. num_cpus = "1.13.0"
  20. lazy_static = "1.4.0"
  21. anyhow = "1.0.49"
  22. num-bigint = {version = "0.4.3", features = ["rand", "serde"]}
  23. # Used for Websockets client implementation.
  24. async-tungstenite = "0.16.0"
  25. tungstenite = "0.16.0"
  26. # Async
  27. async-std = "1.10.0"
  28. async-trait = "0.1.51"
  29. async-channel = "1.6.1"
  30. easy-parallel = "3.1.0"
  31. async-executor = "1.4.1"
  32. futures = "0.3.17"
  33. smol = "1.2.5"
  34. native-tls = "0.2.8"
  35. async-native-tls = "0.4.0"
  36. # Cashier Bitcoin dependencies
  37. bdk = {version = "0.14.0", optional = true}
  38. bitcoin = {version = "0.27.1", optional = true}
  39. secp256k1 = {version = "0.20.3", default-features = false, features = ["rand-std"], optional = true}
  40. # Cashier Ethereum dependencies
  41. hash-db = {version = "0.15.2", optional = true}
  42. keccak-hasher = {version = "0.15.3", optional = true}
  43. # Cashier Solana dependencies
  44. solana-client = {version = "1.8.11", optional = true}
  45. solana-sdk = {version = "1.8.11", 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. [features]
  49. btc = ["bdk", "bitcoin", "secp256k1"]
  50. eth = ["keccak-hasher", "hash-db"]
  51. sol = ["solana-sdk", "solana-client", "spl-token", "spl-associated-token-account"]