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