Cargo Features

[dependencies]
warp-fix-171 = { version = "0.3.4", default-features = false, features = ["multipart", "websocket", "tls", "compression", "compression-brotli", "compression-gzip"] }
default = multipart, websocket

These default features are set whenever warp-fix-171 is added without default-features = false somewhere in the dependency tree.

multipart default = multiparty

Affects filters::multipart

websocket default = tokio-tungstenite

Affects filters::ws, test::ws, test::WsBuilder, test::WsClient

tls = tokio-rustls

Affects server::TlsServer

compression = compression-brotli, compression-gzip

Enable compression-related filters

compression-brotli compression?

Enables brotli of async-compression ^0.3.7

Affects compression::brotli, filters::compression

compression-gzip compression?

Enables deflate and gzip of async-compression ^0.3.7

Affects compression::gzip, compression::deflate, filters::compression

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

async-compression compression-brotli? compression-gzip?

Enables async-compression ^0.3.7

multiparty multipart
tokio-tungstenite websocket

Enables tokio-tungstenite ^0.18

tokio-rustls tls?

Enables tokio-rustls ^0.23