mirror of
https://github.com/flibusta-apps/books_downloader.git
synced 2025-12-06 15:05:37 +01:00
Compare commits
7 Commits
becd419ddb
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27ffb3cfa1 | ||
| 3e0fe9849c | |||
| f8d9a50a66 | |||
|
|
d83c63e25a | ||
| 6fa0f491fa | |||
| 61e502c02b | |||
|
|
aacfcf2eae |
2
.github/workflows/build_docker_image.yml
vendored
2
.github/workflows/build_docker_image.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
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@v6
|
||||
|
||||
- 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
|
||||
|
||||
452
Cargo.lock
generated
452
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,7 @@ reqwest = { version = "0.12.15", features = ["json", "stream", "multipart"] }
|
||||
|
||||
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"] }
|
||||
|
||||
once_cell = "1.21.1"
|
||||
@@ -38,8 +38,8 @@ translit = "0.6.0"
|
||||
zip = "4.2.0"
|
||||
tempfile = "3.19.1"
|
||||
bytes = "1.10.1"
|
||||
axum-prometheus = "0.8.0"
|
||||
axum-prometheus = "0.9.0"
|
||||
base64 = "0.22.1"
|
||||
|
||||
sentry = { version = "0.41.0", features = ["debug-images"] }
|
||||
sentry = { version = "0.42.0", features = ["debug-images"] }
|
||||
dotenvy = "0.15.7"
|
||||
|
||||
@@ -74,7 +74,7 @@ pub async fn download<'a>(
|
||||
Some((response, is_zip))
|
||||
}
|
||||
|
||||
pub async fn download_chain<'a>(
|
||||
pub async fn download_chain(
|
||||
book: BookWithRemote,
|
||||
file_type: String,
|
||||
source_config: config::SourceConfig,
|
||||
|
||||
@@ -20,7 +20,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