Skip to content

Commit

Permalink
Update compression dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Jun 17, 2023
1 parent f22c3ab commit 93e2dd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tower-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tower-layer = "0.3"
tower-service = "0.3"

# optional dependencies
async-compression = { version = "0.3", optional = true, features = ["tokio"] }
async-compression = { version = "0.4", optional = true, features = ["tokio"] }
base64 = { version = "0.20", optional = true }
http-range-header = "0.3.0"
iri-string = { version = "0.7.0", optional = true }
Expand All @@ -50,7 +50,7 @@ tower = { version = "0.4.10", features = ["buffer", "util", "retry", "make", "ti
tracing-subscriber = "0.3"
uuid = { version = "1.0", features = ["v4"] }
serde_json = "1.0"
zstd = "0.11"
zstd = "0.12"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion tower-http/src/compression_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ pub enum CompressionLevel {
/// qualities. The interpretation of this depends on the algorithm chosen
/// and the specific implementation backing it.
/// Qualities are implicitly clamped to the algorithm's maximum.
Precise(u32),
Precise(i32),
}

impl Default for CompressionLevel {
Expand Down

0 comments on commit 93e2dd0

Please sign in to comment.