diff --git a/Cargo.lock b/Cargo.lock index c0911f4..0d9179c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -351,7 +351,7 @@ version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd066d0b4ef8ecb03a55319dc13aa6910616d0f44008a045bb1835af830abff5" dependencies = [ - "brotli", + "brotli 6.0.0", "flate2", "futures-core", "memchr", @@ -490,7 +490,28 @@ checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", - "brotli-decompressor", + "brotli-decompressor 2.5.1", +] + +[[package]] +name = "brotli" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor 4.0.1", +] + +[[package]] +name = "brotli-decompressor" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 2ff31af..2a056ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ actix-governor = { version = "0.5.0", default-features = false } mini-moka = { version = "0.10", optional = true, default-features = false, features = [ "sync", ] } -async-compression = { version = "0.4.6", default-features = false, features = [ +async-compression = { version = "0.4.11", default-features = false, features = [ "brotli", "tokio", ], optional = true }