mirror of
https://github.com/fafhrd91/actix-web
synced 2025-07-01 00:44:26 +02:00
implement io-uring for actix-files (#2408)
Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
@ -82,7 +82,8 @@ pub struct CompressMiddleware<S> {
|
||||
}
|
||||
|
||||
static SUPPORTED_ALGORITHM_NAMES: Lazy<String> = Lazy::new(|| {
|
||||
let mut encoding = vec![];
|
||||
#[allow(unused_mut)] // only unused when no compress features enabled
|
||||
let mut encoding: Vec<&str> = vec![];
|
||||
|
||||
#[cfg(feature = "compress-brotli")]
|
||||
{
|
||||
|
Reference in New Issue
Block a user