File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ libc = "0.2.65"
2424cfg-if = " 1.0.0"
2525miniz-sys = { path = " miniz-sys" , version = " 0.1.11" , optional = true }
2626libz-sys = { version = " 1.1.0" , optional = true , default-features = false }
27- cloudflare-zlib-sys = { version = " 0.2 .0" , optional = true }
27+ cloudflare-zlib-sys = { version = " 0.3 .0" , optional = true }
2828tokio-io = { version = " 0.1.11" , optional = true }
2929futures = { version = " 0.1.25" , optional = true }
3030miniz_oxide = { version = " 0.4.0" , optional = true , default-features = false }
Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ impl Default for StreamWrapper {
3838 reserved : 0 ,
3939 opaque : ptr:: null_mut ( ) ,
4040 state : ptr:: null_mut ( ) ,
41- #[ cfg( feature = "any_zlib" ) ]
41+ #[ cfg( all ( feature = "any_zlib" , not ( feature = "cloudflare-zlib-sys" ) ) ) ]
4242 zalloc,
43- #[ cfg( feature = "any_zlib" ) ]
43+ #[ cfg( all ( feature = "any_zlib" , not ( feature = "cloudflare-zlib-sys" ) ) ) ]
4444 zfree,
45- #[ cfg( not( feature = "any_zlib" ) ) ]
45+ #[ cfg( not( all ( feature = "any_zlib" , not ( feature = "cloudflare-zlib-sys" ) ) ) ) ]
4646 zalloc : Some ( zalloc) ,
47- #[ cfg( not( feature = "any_zlib" ) ) ]
47+ #[ cfg( not( all ( feature = "any_zlib" , not ( feature = "cloudflare-zlib-sys" ) ) ) ) ]
4848 zfree : Some ( zfree) ,
4949 } ) ,
5050 }
You can’t perform that action at this time.
0 commit comments