mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Update deps
This commit is contained in:
527
Cargo.lock
generated
527
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
32
Cargo.toml
32
Cargo.toml
@@ -12,30 +12,30 @@ members = [
|
|||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
once_cell = "1.18.0"
|
once_cell = "1.19.0"
|
||||||
|
|
||||||
prisma-client-rust = { git = "https://github.com/Brendonovich/prisma-client-rust", tag = "0.6.10", default-features = false, features = ["postgresql"] }
|
prisma-client-rust = { git = "https://github.com/Brendonovich/prisma-client-rust", tag = "0.6.10", default-features = false, features = ["postgresql"] }
|
||||||
serde = { version = "1.0.193", features = ["derive"] }
|
serde = { version = "1.0.198", features = ["derive"] }
|
||||||
serde_json = "1.0.108"
|
serde_json = "1.0.116"
|
||||||
reqwest = { version = "0.11.22", features = ["json", "stream", "multipart"] }
|
reqwest = { version = "0.12.4", features = ["json", "stream", "multipart"] }
|
||||||
|
|
||||||
tokio = { version = "1.35.0", features = ["full"] }
|
tokio = { version = "1.37.0", features = ["full"] }
|
||||||
tokio-util = { version = "0.7.10", features = ["compat"] }
|
tokio-util = { version = "0.7.10", features = ["compat"] }
|
||||||
axum = { version = "0.7.2", features = ["json"] }
|
axum = { version = "0.7.5", features = ["json"] }
|
||||||
axum-prometheus = "0.5.0"
|
axum-prometheus = "0.6.1"
|
||||||
chrono = "0.4.31"
|
chrono = "0.4.38"
|
||||||
sentry = { version = "0.32.0", features = ["debug-images"] }
|
sentry = { version = "0.32.3", features = ["debug-images"] }
|
||||||
|
|
||||||
tracing = "0.1.40"
|
tracing = "0.1.40"
|
||||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"]}
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"]}
|
||||||
tower-http = { version = "0.5.0", features = ["trace"] }
|
tower-http = { version = "0.5.2", features = ["trace"] }
|
||||||
|
|
||||||
base64 = "0.21.5"
|
base64 = "0.22.0"
|
||||||
|
|
||||||
futures = "0.3.29"
|
futures = "0.3.30"
|
||||||
futures-core = "0.3.29"
|
futures-core = "0.3.30"
|
||||||
async-stream = "0.3.5"
|
async-stream = "0.3.5"
|
||||||
|
|
||||||
minio-rsc = "0.2.0"
|
minio-rsc = "0.2.2"
|
||||||
tempfile = "3.8.1"
|
tempfile = "3.10.1"
|
||||||
bytes = "1.5.0"
|
bytes = "1.6.0"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ pub fn get_internal_minio() -> Minio {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_stream(
|
pub fn get_stream(
|
||||||
mut temp_file: Box<dyn Read + Send>,
|
mut temp_file: Box<dyn Read + Send + Sync>,
|
||||||
) -> impl futures_core::Stream<Item = Result<Bytes, Error>> {
|
) -> impl futures_core::Stream<Item = Result<Bytes, Error>> {
|
||||||
stream! {
|
stream! {
|
||||||
let mut buf = [0; 2048];
|
let mut buf = [0; 2048];
|
||||||
|
|||||||
Reference in New Issue
Block a user