(config) updated secrets and added requests to Cargo.toml

This commit is contained in:
Rorik Star Platinum 2025-11-04 19:08:40 +03:00
parent d53dadb272
commit 1ef79843e6
4 changed files with 543 additions and 29 deletions

View file

@ -4,36 +4,29 @@ version = "0.1.0"
edition = "2024"
[dependencies]
# Web Framework
axum = "0.8"
tokio = { version = "1.48.0", features = ["full"] }
tokio = { version = "1.48", features = ["full"] }
reqwest = { version = "0.12", features = ["json"] }
# Database
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres"] }
# Serialization
dotenvy = "0.15"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
# Logging
jsonwebtoken = "10.1"
base64 = "0.22"
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4", "serde"] }
tracing = "0.1"
tracing-subscriber = "0.3"
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# (опционально) для кэширования токенов
once_cell = "1.21"
# Utilities
dotenvy = "0.15"
uuid = { version = "1.18", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
[dev-dependencies]
mockito = "1.0" # Мокирование HTTP запросов в тестах
mockito = "1.0" # Мокирование HTTP запросов