Cargo.toml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. [package]
  2. name = "darkfi"
  3. version = "0.2.0"
  4. homepage = "https://dark.fi"
  5. description = "Anonymous. Uncensored. Sovereign."
  6. authors = ["darkfi <dev@dark.fi>"]
  7. repository = "https://github.com/darkrenaissance/darkfi"
  8. license = "AGPL-3.0-only"
  9. edition = "2021"
  10. [lib]
  11. name = "drk"
  12. [dependencies.halo2_gadgets]
  13. git = "https://github.com/parazyd/halo2_gadgets.git"
  14. rev = "b45c527276bb2309f3b256eb5f45ccdcc5bd8c0f"
  15. features = ["dev-graph", "test-dependencies"]
  16. [dependencies.incrementalmerkletree]
  17. git = "https://github.com/zcash/incrementalmerkletree.git"
  18. rev = "b7bd6246122a6e9ace8edb51553fbf5228906cbb"
  19. [dependencies.rocksdb]
  20. # TODO: Revert to upstream after bd966750ec861d687913d59a9939a1408ac53131 is merged.
  21. git = "https://github.com/parazyd/rust-rocksdb"
  22. rev = "bd966750ec861d687913d59a9939a1408ac53131"
  23. default-features = false
  24. features = ["lz4"]
  25. [dependencies]
  26. # Crypto
  27. halo2 = {version = "=0.1.0-beta.1", features = ["dev-graph", "gadget-traces", "sanity-checks"]}
  28. pasta_curves = "0.2.1"
  29. rand = "0.8.4"
  30. num-bigint = {version = "0.4.3", features = ["rand", "serde"]}
  31. blake2b_simd = "1.0.0"
  32. blake2s_simd = "1.0.0"
  33. group = "0.11.0"
  34. crypto_api_chachapoly = "0.5.0"
  35. arrayvec = "0.7.2"
  36. sha2 = "0.9.8"
  37. ripemd160 = "0.9.1"
  38. # Encoding and parsing
  39. bs58 = "0.4.0"
  40. bytes = "1.1.0"
  41. hex = "0.4.3"
  42. toml = "0.5.8"
  43. url = "2.2.2"
  44. serde_json = "1.0.72"
  45. serde = {version = "1.0.130", features = ["derive"]}
  46. # Async
  47. async-std = "1.10.0"
  48. async-trait = "0.1.51"
  49. async-channel = "1.6.1"
  50. easy-parallel = "3.1.0"
  51. native-tls = "0.2.8"
  52. async-native-tls = "0.4.0"
  53. async-executor = "1.4.1"
  54. futures = "0.3.18"
  55. smol = "1.2.5"
  56. # Utilities
  57. anyhow = "1.0.49"
  58. clap = "2.33.3"
  59. dirs = "4.0.0"
  60. failure = "0.1.8"
  61. lazy_static = "1.4.0"
  62. log = "0.4.14"
  63. num_cpus = "1.13.0"
  64. simple_logger = "1.15.0"
  65. signal-hook = "0.3.10"
  66. signal-hook-async-std = "0.2.1"
  67. subtle = "2.4.1"
  68. thiserror = "1.0.30"
  69. prettytable-rs = "0.8.0"
  70. # Used for Websockets client implementation.
  71. async-tungstenite = "0.16.0"
  72. tungstenite = "0.16.0"
  73. # Used for wallet management.
  74. rusqlite = {version = "0.26.1", features = ["bundled-sqlcipher"]}
  75. # Used for gatewayd network transport.
  76. zeromq = {version = "0.3.0", default-features = false, features = ["async-std-runtime", "all-transport"]}
  77. # Cashier Bitcoin dependencies
  78. bdk = {version = "0.13.0", optional = true}
  79. bitcoin = {version = "0.27.1", optional = true}
  80. secp256k1 = {version = "0.20.3", default-features = false, features = ["rand-std"], optional = true}
  81. # Cashier Ethereum dependencies
  82. hash-db = {version = "0.15.2", optional = true}
  83. keccak-hasher = {version = "0.15.3", optional = true}
  84. # Cashier Solana dependencies
  85. solana-client = {version = "1.8.5", optional = true}
  86. solana-sdk = {version = "1.8.5", optional = true}
  87. spl-associated-token-account = {version = "1.0.3", features = ["no-entrypoint"], optional = true}
  88. spl-token = {version = "3.2.0", features = ["no-entrypoint"], optional = true}
  89. [features]
  90. btc = ["bdk", "bitcoin", "secp256k1"]
  91. eth = ["keccak-hasher", "hash-db"]
  92. sol = ["solana-sdk", "solana-client", "spl-token", "spl-associated-token-account"]