Cargo.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [package]
  2. name = "as-rust"
  3. version = "3.5.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. tokio = { version = "=1.31.0", features = ["full"] }
  8. chrono = "=0.4.26"
  9. tracing = "=0.1"
  10. tracing-appender-timezone = { git = "https://github.com/skyfffire/tracing-appender-timezone.git" }
  11. serde = { version = "=1.0.190", features = ["derive"] }
  12. actix-web = "=4.9.0"
  13. ctrlc = "=3.2.5"
  14. serde_json = "=1.0.105"
  15. rust_decimal = { version = "=1.32.0", features = ["maths"] }
  16. rand = "=0.8.5"
  17. futures-channel = "=0.3.29"
  18. serde_derive = "=1.0.190"
  19. futures = "=0.3"
  20. reqwest = { version = "=0.11.14", features = ["json"] }
  21. hex = "=0.4"
  22. hmac = "=0.8.1"
  23. sha2 = "=0.9.9"
  24. base64 = "=0.13"
  25. tokio-tungstenite= { git = "https://github.com/HonestHouLiang/tokio-tungstenite.git",rev = "208fc9b09bcc2e2c8cb52e1cde5087446464fc91" }
  26. ring = "=0.16.20"
  27. futures-util = { version = "=0.3.29", default-features = false, features = ["sink", "std"] }
  28. toml = "=0.5.11"
  29. time = { version = "=0.3.35", features = ["macros"] }
  30. tracing-subscriber = { version = "=0.3.17", features = [
  31. "env-filter",
  32. "time",
  33. "local-time"
  34. ] }
  35. [target.'cfg(any(target_os = "linux"))'.dependencies.openssl]
  36. version = "*"
  37. features = ["vendored"]
  38. # 在确认程序运行无误后 可开启以下配置,可减少打包后的程序大小
  39. [profile.release]
  40. lto = true # 启用链接时优化
  41. strip = "debuginfo" # 剥离调试信息
  42. #[workspace]
  43. #members=[
  44. #]