Cargo.toml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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.1"
  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. smol = "1.2.4"
  48. futures = "0.3.5"
  49. async-channel = "1.4.2"
  50. async-executor = "1.4.0"
  51. async-dup = "1.1.0"
  52. async-std = "1.6.2"
  53. async-rwlock = "1.3.0"
  54. easy-parallel = "3.1.0"
  55. jsonrpc-core = "18.0.0"
  56. jsonrpc-derive = "18.0.0"
  57. jsonrpc-core-client = "18.0.0"
  58. surf = "2.2.0"
  59. http-types = "2.9.0"
  60. async-h1 = "2.3.0"
  61. async-native-tls = "0.3.3"
  62. toml = "0.5.8"
  63. # serde
  64. serde = { version = "1.0.126", features = ["derive"]}
  65. # zmq
  66. zeromq = { git="https://github.com/zeromq/zmq.rs", default-features = false, features = ["async-std-runtime", "all-transport"] }
  67. bytes = "1.0.1"
  68. # wallet deps
  69. rocksdb = {version = "0.16.0", default-features = false, features = ["lz4"]}
  70. dirs = "3.0.2"
  71. ## Cashier Solana Dependencies
  72. solana-sdk = {version = "1.7.11", optional = true}
  73. solana-client = {version = "1.7.11", optional = true}
  74. tokio-tungstenite = {version = "0.15.0", optional = true}
  75. tokio = {version = "1.11.0", features = ["full"], optional = true}
  76. ed25519-dalek = {version = "1.0.1", optional = true}
  77. ## Cashier Bitcoin Dependencies
  78. bitcoin = {version = "0.27.0", optional = true }
  79. secp256k1 = {version = "0.20.3", optional = true}
  80. electrum-client = {version = "0.8.0", optional = true }
  81. [dependencies.rusqlite]
  82. version = "0.25.1"
  83. features = ["bundled", "sqlcipher"]
  84. [features]
  85. default = ["bitcoin", "secp256k1", "electrum-client"]
  86. sol = ["solana-sdk", "solana-client", "tokio-tungstenite", "tokio", "ed25519-dalek" ]
  87. [[bin]]
  88. name = "lisp"
  89. path = "lisp/lisp.rs"
  90. [[bin]]
  91. name = "mimc"
  92. path = "src/old/mimc.rs"
  93. [[bin]]
  94. name = "mint-classic"
  95. path = "src/bin/mint-classic.rs"
  96. [[bin]]
  97. name = "spend-classic"
  98. path = "src/bin/spend-classic.rs"
  99. [[bin]]
  100. name = "tx"
  101. path = "src/bin/tx.rs"
  102. [[bin]]
  103. name = "gatewayd"
  104. path = "src/bin/gatewayd.rs"
  105. [[bin]]
  106. name = "cashierd"
  107. path = "src/bin/cashierd.rs"
  108. [[bin]]
  109. name = "darkfid"
  110. path = "src/bin/darkfid.rs"
  111. [[bin]]
  112. name = "drk"
  113. path = "src/bin/drk.rs"
  114. [profile.release]
  115. debug = 1