Cargo.toml 735 B

1234567891011121314151617181920212223242526272829303132
  1. [workspace]
  2. members = [
  3. "net_monitor",
  4. "telegram_bot",
  5. "migration",
  6. "orm",
  7. ]
  8. resolver = "2"
  9. [workspace.dependencies]
  10. regex = "1.10.3"
  11. reqwest = { version = "0.11", features = ["json"] }
  12. tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }
  13. futures = "0.3.28"
  14. serde_json= "1.0.113"
  15. serde = {version="1.0.195", features=["derive"]}
  16. redis = "0.24.0"
  17. sea-orm = { version = "^0.12.0", features = [ "sqlx-postgres", "runtime-tokio-native-tls", "macros" ] }
  18. sea-orm-cli = "0.12.10"
  19. telegram_bot = { path="telegram_bot" }
  20. orm = {path="orm"}
  21. [profile.release]
  22. strip = true # Automatically strip symbols from the binary.
  23. opt-level = "z" # Optimize for size.
  24. lto = true
  25. codegen-units = 1
  26. panic = "abort"