ya-metrics-bot/Cargo.toml
erius 2069d9104c Added id field to all model's structs
Implemented YandexRequester summary method (TODO: test it)
Added BotData struct that will replace the Settings struct in the future
Implemented update methods for some structs' tables in BotData (TODO: implement update_requester and new methods)
Moved migrations to root directory
Note: use sqlx-cli from cargo to manage migrations from now on
Added *.db files to .gitignore
Added serde_json to Cargo.toml to parse json in YandexRequester
2024-12-01 04:46:54 +03:00

17 lines
495 B
TOML

[package]
name = "ya-metrics-bot"
version = "0.1.0"
edition = "2021"
[dependencies]
teloxide = { version = "0.13", features = ["macros", "rustls"] }
log = "0.4"
pretty_env_logger = "0.5"
tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] }
thiserror = "2.0.3"
serde = "1.0.214"
dotenvy = "0.15.7"
reqwest = { version = "0.12.9", features = ["json"] }
bitflags = "2.6.0"
sqlx = { version = "0.8.2", features = ["runtime-tokio", "tls-rustls", "sqlite"] }
serde_json = "1.0.133"