Cargo.toml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. [package]
  2. name = "darkfi"
  3. version = "0.1.0"
  4. authors = ["darkfi <dev@dark.fi>"]
  5. edition = "2018"
  6. [lib]
  7. name = "drk"
  8. [dependencies]
  9. ff = "0.8"
  10. group = "0.8"
  11. bellman = { version = "0.8", default-features = false, features = ["groth16"] }
  12. bls12_381 = "0.3.1"
  13. jubjub = "0.5.1"
  14. bs58 = "0.4.0"
  15. zcash_primitives = "0.5.0"
  16. zcash_proofs = "0.5.0"
  17. # zcash_primitives = { git = "https://github.com/zcash/librustzcash" }
  18. #zcash_proofs = { git = "https://github.com/zcash/librustzcash" }
  19. #zcash_proofs = { git = "https://github.com/narodnik/librustzcash" }
  20. #bench-utils = { git = "https://github.com/scipr-lab/zexe", features = ["print-trace"]}
  21. rand = "0.7.3"
  22. rand_core = "0.5.1"
  23. sha2 = "0.9.8"
  24. rand_xorshift = "0.2"
  25. blake2s_simd = "0.5"
  26. blake2b_simd = "0.5.11"
  27. crypto_api_chachapoly = "0.4"
  28. bitvec = "0.18"
  29. bimap = "0.5.2"
  30. async-trait = "0.1.42"
  31. multimap = "0.8.2"
  32. hex = "0.4.2"
  33. num_enum = "0.5.0"
  34. lazy_static = "1.4.0"
  35. itertools = "0.8.0"
  36. #fnv = "1.0.6"
  37. regex = "1"
  38. simplelog = "0.7.4"
  39. clap = "2.33.3"
  40. failure = "0.1.8"
  41. failure_derive = "0.1.8"
  42. log = "0.4"
  43. ctrlc = "3.1.7"
  44. serde_json = "1.0.61"
  45. owning_ref = "0.4.1"
  46. signal-hook = "0.3.8"
  47. cfg-if = "1.0.0"
  48. smol = "1.2.4"
  49. futures = "0.3.5"
  50. async-channel = "1.4.2"
  51. async-executor = "1.4.0"
  52. async-dup = "1.1.0"
  53. async-std = "1.6.2"
  54. async-rwlock = "1.3.0"
  55. easy-parallel = "3.1.0"
  56. jsonrpc-core = "18.0.0"
  57. jsonrpc-derive = "18.0.0"
  58. jsonrpc-core-client = "18.0.0"
  59. surf = "2.2.0"
  60. http-types = "2.9.0"
  61. async-h1 = "2.3.0"
  62. async-native-tls = "0.3.3"
  63. toml = "0.5.8"
  64. # serde
  65. serde = { version = "1.0.126", features = ["derive"]}
  66. # tokio async
  67. tokio = { version = "1.11.0", features = ["full"] }
  68. # zmq
  69. zeromq = { git="https://github.com/zeromq/zmq.rs", default-features = false, features = ["async-std-runtime", "all-transport"] }
  70. bytes = "1.0.1"
  71. # wallet deps
  72. rocksdb = {version = "0.16.0", default-features = false, features = ["lz4"]}
  73. dirs = "3.0.2"
  74. ## Cashier Solana Dependencies
  75. spl-token = {version = "3.2.0", optional = true}
  76. solana-sdk = {version = "1.7.11", optional = true}
  77. solana-client = {version = "1.7.11", optional = true}
  78. tokio-tungstenite = {version = "0.15.0", optional = true}
  79. ## Cashier Bitcoin Dependencies
  80. bitcoin = {version = "0.27.0", optional = true }
  81. secp256k1 = {version = "0.20.3", optional = true}
  82. electrum-client = {version = "0.8.0", optional = true }
  83. [dependencies.rusqlite]
  84. version = "0.25.1"
  85. features = ["bundled", "sqlcipher"]
  86. [features]
  87. default = ["bitcoin", "secp256k1", "electrum-client"]
  88. sol = ["solana-sdk", "solana-client", "spl-token", "tokio-tungstenite"]
  89. [[bin]]
  90. name = "gatewayd"
  91. path = "src/bin/gatewayd.rs"
  92. [[bin]]
  93. name = "cashierd"
  94. path = "src/bin/cashierd.rs"
  95. [[bin]]
  96. name = "darkfid"
  97. path = "src/bin/darkfid.rs"
  98. [[bin]]
  99. name = "drk"
  100. path = "src/bin/drk.rs"
  101. [profile.release]
  102. debug = 1