Cargo.toml 991 B

12345678910111213141516171819202122232425262728293031323334
  1. [package]
  2. name = "basic_orm_cli_crud"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [profile.release]
  6. opt-level = 'z' # Optimize for size
  7. lto = true # Enable link-time optimization
  8. codegen-units = 1 # Reduce number of codegen units to increase optimizations
  9. panic = 'abort' # Abort on panic
  10. strip = true # Strip symbols from binary*
  11. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  12. [dependencies]
  13. sea-orm = { version = "^0.12.0", features = [ "sqlx-postgres", "runtime-tokio-native-tls", "macros" ] }
  14. futures = "0.3.28"
  15. sea-orm-cli = "0.12.10"
  16. rand = "0.8.5"
  17. tracing-subscriber = { version = "0.3.9", features = ["env-filter"] }
  18. redis = "0.24.0"
  19. tokio={version="^1.36.0", features = ["rt-multi-thread", "macros"]}
  20. poem = {version = "^2.0.0"}
  21. tera = "1.19.1"
  22. serde="1.0.196"
  23. serde_json="1.0.113"
  24. # local libs
  25. shit-post-db = { path = "db_shit" }
  26. shit-post-web-api = { path = "api" }
  27. telegram-bot = { path = "telegram_bot" }