Update dependencies and fix code for teloxide 0.16 and sentry 0.40

- Upgrade teloxide to 0.16, sentry to 0.40, and related crates - Update
handler type signatures for teloxide 0.16 - Fix error mapping to use
std::io::Error::other - Adjust RegisterRequestStatus match arm for new
enum variant - Update Cargo.lock for new dependencies
This commit is contained in:
2025-06-21 23:47:03 +02:00
parent 1d6d51eea6
commit a26186f2ad
7 changed files with 492 additions and 61 deletions

View File

@@ -20,7 +20,7 @@ tower = "0.5.2"
tower-http = { version = "0.6.2", features = ["trace"] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"]}
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
sentry-tracing = "0.36.0"
reqwest = { version = "0.12.15", features = ["json", "stream"] }
@@ -28,7 +28,12 @@ reqwest = { version = "0.12.15", features = ["json", "stream"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
teloxide = { version = "0.15.0", features = ["macros", "webhooks-axum", "cache-me", "throttle"] }
teloxide = { version = "0.16.0", features = [
"macros",
"webhooks-axum",
"cache-me",
"throttle",
] }
url = "2.5.4"
@@ -48,4 +53,4 @@ smartstring = { version = "1.0.1", features = ["serde"] }
moka = { version = "0.12.10", features = ["future"] }
sentry = { version = "0.36.0", features = ["debug-images"] }
sentry = { version = "0.40.0", features = ["debug-images"] }