Cargo.toml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [package]
  2. name = "exchanges"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. # json
  8. serde_json = "1.0.104"
  9. #tungstenite = { git = "https://github.com/PrivateRookie/tungstenite-rs.git", rev = "1d9289276518e5ab7e5194126d40b441d8938375" }
  10. #tungstenite = { git = "https://github.com/PrivateRookie/tungstenite-rs.git", rev = "f368f3087d50d97658fda5337550e587bb1ba1b6" }
  11. tokio-tungstenite= { git = "https://github.com/HonestHouLiang/tokio-tungstenite.git",rev = "208fc9b09bcc2e2c8cb52e1cde5087446464fc91" }
  12. futures-util = { version = "0.3.28", default-features = false, features = ["sink", "std"] }
  13. futures-channel = "0.3.28"
  14. url = "2.4.0"
  15. base64 = "0.13"
  16. tokio = { version = "1.31.0", features = ["full"] }
  17. chrono = "0.4.26"
  18. hex = "0.4"
  19. reqwest = { version = "0.11.14", features = ["json"] }
  20. ring = "0.16.20"
  21. data-encoding = "2.4.0"
  22. hmac = "0.8.1"
  23. sha2 = "0.9.8"
  24. #tokio-tungstenite = "0.14"
  25. ##代替f64避免精度丢失
  26. rust_decimal = "1.32.0"
  27. rust_decimal_macros = "1.32.0"
  28. ##日志
  29. global = { path="../global" }
  30. tracing = "0.1"
  31. tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
  32. ##生成 xlsx
  33. rust_xlsxwriter = "0.58.0"
  34. once_cell = "1.19.0"
  35. flate2 = "1.0.28"
  36. # 火币需要的一个加密包
  37. percent-encoding = "2.3.1"