File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
23
24
24
- None.
25
25
26
+ # 0.4.3 (July 20, 2023)
27
+
28
+ ## Fixed
29
+
30
+ - ** compression:** Fix accidental breaking change in 0.4.2.
31
+
26
32
# 0.4.2 (July 19, 2023)
27
33
28
34
## Added
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " tower-http"
3
3
description = " Tower middleware and utilities for HTTP clients and servers"
4
- version = " 0.4.2 "
4
+ version = " 0.4.3 "
5
5
authors = [" Tower Maintainers <team@tower-rs.com>" ]
6
6
edition = " 2018"
7
7
license = " MIT"
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ use http::HeaderValue;
8
8
use http_body:: Body ;
9
9
use pin_project_lite:: pin_project;
10
10
use std:: {
11
- convert:: TryInto ,
12
11
io,
13
12
pin:: Pin ,
14
13
task:: { Context , Poll } ,
@@ -376,6 +375,8 @@ use async_compression::Level as AsyncCompressionLevel;
376
375
) ) ]
377
376
impl CompressionLevel {
378
377
pub ( crate ) fn into_async_compression ( self ) -> AsyncCompressionLevel {
378
+ use std:: convert:: TryInto ;
379
+
379
380
match self {
380
381
CompressionLevel :: Fastest => AsyncCompressionLevel :: Fastest ,
381
382
CompressionLevel :: Best => AsyncCompressionLevel :: Best ,
You can’t perform that action at this time.
0 commit comments