mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Compare commits
6 Commits
41bfaf789c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6277d82574 | |||
| 01a0edcd34 | |||
|
|
7549c668d7 | ||
| f9e1918c55 | |||
| a329bd9e0b | |||
|
|
0100443ac6 |
4
.github/workflows/rust-clippy.yml
vendored
4
.github/workflows/rust-clippy.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload analysis results to GitHub
|
||||
uses: github/codeql-action/upload-sarif@v3
|
||||
uses: github/codeql-action/upload-sarif@v4
|
||||
with:
|
||||
sarif_file: rust-clippy-results.sarif
|
||||
wait-for-processing: true
|
||||
|
||||
473
Cargo.lock
generated
473
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -27,19 +27,19 @@ tokio = { version = "1.44.2", features = ["full"] }
|
||||
tokio-util = { version = "0.7.14", features = ["compat"] }
|
||||
|
||||
axum = { version = "0.8.1", features = ["json"] }
|
||||
axum-prometheus = "0.8.0"
|
||||
axum-prometheus = "0.9.0"
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.140"
|
||||
|
||||
tracing = "0.1.41"
|
||||
tracing-subscriber = { version = "0.3.19", features = ["env-filter"]}
|
||||
sentry-tracing = "0.41.0"
|
||||
sentry-tracing = "0.42.0"
|
||||
tower-http = { version = "0.6.2", features = ["trace"] }
|
||||
|
||||
reqwest = { version = "0.12.15", features = ["json", "stream", "multipart"] }
|
||||
|
||||
chrono = "0.4.40"
|
||||
sentry = { version = "0.41.0", features = ["debug-images"] }
|
||||
sentry = { version = "0.42.0", features = ["debug-images"] }
|
||||
|
||||
base64 = "0.22.1"
|
||||
|
||||
@@ -50,7 +50,7 @@ async-stream = "0.3.6"
|
||||
tempfile = "3.19.1"
|
||||
bytes = "1.10.1"
|
||||
|
||||
teloxide = { version = "0.16.0", features = ["macros", "webhooks-axum", "cache-me", "throttle"] }
|
||||
teloxide = { version = "0.17.0", features = ["macros", "webhooks-axum", "cache-me", "throttle"] }
|
||||
|
||||
moka = { version = "0.12.10", features = ["future"] }
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ pub struct DownloadResult {
|
||||
|
||||
pub fn get_response_async_read(it: Response) -> impl AsyncRead {
|
||||
it.bytes_stream()
|
||||
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
|
||||
.map_err(std::io::Error::other)
|
||||
.into_async_read()
|
||||
.compat()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user