1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

server: Upgrade async-compression

This commit is contained in:
Zhaofeng Li 2023-05-28 15:21:59 -06:00
parent 1a0116fee8
commit 1b980a9640
3 changed files with 8 additions and 8 deletions

12
Cargo.lock generated
View file

@ -149,9 +149,9 @@ dependencies = [
[[package]]
name = "async-compression"
version = "0.3.15"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "942c7cd7ae39e91bde4820d74132e9862e62c2f386c3aa90ccf55949f5bad63a"
checksum = "5b0122885821398cc923ece939e24d1056a2384ee719432397fa9db87230ff11"
dependencies = [
"brotli",
"futures-core",
@ -4920,18 +4920,18 @@ checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9"
[[package]]
name = "zstd"
version = "0.11.2+zstd.1.5.2"
version = "0.12.3+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806"
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
version = "5.0.2+zstd.1.5.2"
version = "6.0.5+zstd.1.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
checksum = "d56d9e60b4b1758206c238a10165fbcae3ca37b01744e394c463463f6529d23b"
dependencies = [
"libc",
"zstd-sys",

View file

@ -62,7 +62,7 @@ console-subscriber = "0.1.9"
xdg = "2.5.0"
[dependencies.async-compression]
version = "0.3.15"
version = "0.4.0"
features = [
"tokio",
"xz",

View file

@ -194,7 +194,7 @@ pub struct CompressionConfig {
/// Compression level.
///
/// If unspecified, Attic will choose a default one.
pub level: Option<u32>,
pub level: Option<i32>,
}
/// Compression type.