Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. [package]
  2. name = "darkfi"
  3. version = "0.1.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. readme = "README.md"
  9. license = "AGPL-3.0-only"
  10. edition = "2018"
  11. #[profile.release]
  12. #debug = 1
  13. [lib]
  14. name = "drk"
  15. [dependencies]
  16. ff = "0.8"
  17. group = "0.8"
  18. bellman = { version = "0.8", default-features = false, features = ["groth16"] }
  19. bls12_381 = "0.3.1"
  20. jubjub = "0.5.1"
  21. zcash_primitives = "0.5.0"
  22. zcash_proofs = "0.5.0"
  23. rand = "0.7.3"
  24. rand_core = "0.5.1"
  25. sha2 = "0.9.8"
  26. blake2s_simd = "0.5"
  27. blake2b_simd = "0.5.11"
  28. crypto_api_chachapoly = "0.4"
  29. bitvec = "0.18"
  30. bimap = "0.5.2"
  31. hex = "0.4.2"
  32. bs58 = "0.4.0"
  33. prettytable-rs = "0.8"
  34. smol = "1.2.4"
  35. futures = "0.3.17"
  36. async-channel = "1.4.2"
  37. async-trait = "0.1.42"
  38. async-executor = "1.4.0"
  39. async-std = "1.6.2"
  40. async-native-tls = "0.3.3"
  41. native-tls = "0.2.8"
  42. easy-parallel = "3.1.0"
  43. tungstenite = "0.15.0"
  44. async-tungstenite = "0.15.0"
  45. simple_logger = "1.13.0"
  46. log = "0.4.14"
  47. clap = "2.33.3"
  48. toml = "0.5.8"
  49. dirs = "4.0.0"
  50. url = "2.2.2"
  51. serde = { version = "1.0.126", features = ["derive"]}
  52. serde_json = "1.0.61"
  53. bytes = "1.0.1"
  54. signal-hook = "0.3.8"
  55. lazy_static = "1.4.0"
  56. rocksdb = {version = "0.16.0", default-features = false, features = ["lz4"]}
  57. ## Cashier Solana Dependencies
  58. spl-token = {version = "3.2.0", optional = true}
  59. solana-sdk = {version = "1.7.11", optional = true}
  60. solana-client = {version = "1.7.11", optional = true}
  61. spl-associated-token-account = {version = "1.0.3", optional = true}
  62. ## Cashier Bitcoin Dependencies
  63. bitcoin = {version = "0.27.0", optional = true }
  64. secp256k1 = {version = "0.20.3", default-features = false, features = ["rand-std"], optional = true}
  65. electrum-client = {version = "0.8.0", optional = true }
  66. [dependencies.rusqlite]
  67. version = "0.25.1"
  68. features = ["bundled", "sqlcipher"]
  69. [dependencies.zeromq]
  70. git = "https://github.com/zeromq/zmq.rs"
  71. default-features = false
  72. features = ["async-std-runtime", "all-transport"]
  73. [features]
  74. btc = ["bitcoin", "secp256k1", "electrum-client"]
  75. sol = ["solana-sdk", "solana-client", "spl-token", "spl-associated-token-account"]