Skip to content

Commit 8b327be

Browse files
tottotosylvestre
authored andcommitted
chore: update to gzp 2
1 parent d9d2eb6 commit 8b327be

4 files changed

Lines changed: 46 additions & 51 deletions

File tree

Cargo.lock

Lines changed: 43 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ flate2 = { version = "1.0", optional = true, default-features = false, features
4949
] }
5050
fs-err = "3"
5151
futures = "0.3"
52-
gzp = { version = "0.11.3", default-features = false, features = [
53-
"deflate_rust",
54-
] }
52+
gzp = { version = "2", default-features = false, features = ["deflate_rust"] }
5553
http = "1.0"
5654
http-body-util = { version = "0.1", optional = true }
5755
hyper = { version = "1.1", optional = true, features = ["server", "http1"] }

src/dist/pkg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ mod toolchain_imp {
180180
file_set,
181181
symlinks,
182182
} = self;
183-
let par: ParCompress<Gzip> = ParCompressBuilder::new()
183+
let par: ParCompress<'_, Gzip, W> = ParCompressBuilder::new()
184184
.compression_level(Compression::default())
185185
.from_writer(writer);
186186
let mut builder = tar::Builder::new(par);

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ where
12371237
) -> SccacheResponse {
12381238
match compiler {
12391239
Err(e) => {
1240-
debug!("check_compiler: Unsupported compiler: {}", e.to_string());
1240+
debug!("check_compiler: Unsupported compiler: {e}");
12411241
self.stats.lock().await.requests_unsupported_compiler += 1;
12421242
return Message::WithoutBody(Response::Compile(
12431243
CompileResponse::UnsupportedCompiler(OsString::from(e.to_string())),

0 commit comments

Comments
 (0)