Cargo.toml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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.rocksdb]
  17. # TODO: Revert to upstream after bd966750ec861d687913d59a9939a1408ac53131 is merged.
  18. git = "https://github.com/parazyd/rust-rocksdb"
  19. rev = "bd966750ec861d687913d59a9939a1408ac53131"
  20. default-features = false
  21. features = ["lz4"]
  22. [dependencies]
  23. # Crypto
  24. halo2 = {version = "=0.1.0-beta.1", features = ["dev-graph", "gadget-traces", "sanity-checks"]}
  25. incrementalmerkletree = "0.2.0"
  26. pasta_curves = "0.2.1"
  27. rand = "0.8.4"
  28. num-bigint = {version = "0.4.3", features = ["rand", "serde"]}
  29. blake2b_simd = "1.0.0"
  30. group = "0.11.0"
  31. crypto_api_chachapoly = "0.5.0"
  32. arrayvec = "0.7.2"
  33. sha2 = "0.9.8"
  34. ripemd160 = "0.9.1"
  35. # Encoding and parsing
  36. bs58 = "0.4.0"
  37. bytes = "1.1.0"
  38. hex = "0.4.3"
  39. toml = "0.5.8"
  40. url = "2.2.2"
  41. serde_json = "1.0.72"
  42. serde = {version = "1.0.130", features = ["derive"]}
  43. # Async
  44. async-std = "1.10.0"
  45. async-trait = "0.1.51"
  46. async-channel = "1.6.1"
  47. easy-parallel = "3.1.0"
  48. native-tls = "0.2.8"
  49. async-native-tls = "0.4.0"
  50. async-executor = "1.4.1"
  51. futures = "0.3.17"
  52. smol = "1.2.5"
  53. # Utilities
  54. anyhow = "1.0.49"
  55. clap = "2.34.0"
  56. dirs = "4.0.0"
  57. failure = "0.1.8"
  58. lazy_static = "1.4.0"
  59. log = "0.4.14"
  60. num_cpus = "1.13.0"
  61. simple_logger = "1.15.0"
  62. signal-hook = "0.3.10"
  63. signal-hook-async-std = "0.2.1"
  64. subtle = "2.4.1"
  65. thiserror = "1.0.30"
  66. prettytable-rs = "0.8.0"
  67. # Used for Websockets client implementation.
  68. async-tungstenite = "0.16.0"
  69. tungstenite = "0.16.0"
  70. # Used for wallet management.
  71. sqlx = {git = "https://github.com/parazyd/sqlx", rev = "0fbdc4f5d7334568e375c9ce4aa45a6cd3ea9867", features = ["runtime-async-std-native-tls", "sqlite"]}
  72. libsqlite3-sys = {version = "0.23.1", features = ["bundled-sqlcipher"]}
  73. # Used for gatewayd network transport.
  74. zeromq = {version = "0.3.1", default-features = false, features = ["async-std-runtime", "all-transport"]}
  75. # Cashier Bitcoin dependencies
  76. bdk = {version = "0.14.0", optional = true}
  77. bitcoin = {version = "0.27.1", optional = true}
  78. secp256k1 = {version = "0.20.3", default-features = false, features = ["rand-std"], optional = true}
  79. # Cashier Ethereum dependencies
  80. hash-db = {version = "0.15.2", optional = true}
  81. keccak-hasher = {version = "0.15.3", optional = true}
  82. # Cashier Solana dependencies
  83. solana-client = {version = "1.8.6", optional = true}
  84. solana-sdk = {version = "1.8.6", optional = true}
  85. spl-associated-token-account = {version = "1.0.3", features = ["no-entrypoint"], optional = true}
  86. spl-token = {version = "3.2.0", features = ["no-entrypoint"], optional = true}
  87. aes-gcm = {version = "0.9.4", optional = true}
  88. simplelog = {version = "0.11.1", optional = true}
  89. chrono = {version = "0.4.19", optional = true}
  90. rusqlite = {version = "0.26.3", optional = true}
  91. [features]
  92. btc = ["bdk", "bitcoin", "secp256k1"]
  93. eth = ["keccak-hasher", "hash-db"]
  94. sol = ["solana-sdk", "solana-client", "spl-token", "spl-associated-token-account"]
  95. darkpulse = ["aes-gcm", "simplelog", "chrono","rusqlite"]
  96. [[bin]]
  97. name = "darkpulse"
  98. required-features = ["darkpulse"]
  99. [[bin]]
  100. name = "eth"
  101. required-features = ["eth"]