Cargo Features

Monoio-HTTP has no features set by default.

[dependencies]
monoio-http = { version = "0.3.12", features = ["logging", "stream", "unstable", "parsed", "encoding", "monoio-native-tls"] }
logging
stream

Enables futures::Stream implementations for various types.

unstable

Enables unstable APIs. Any API exposed by this feature has no backwards compatibility guarantees. In other words, you should not use this feature for anything besides experimentation. Definitely do not publish a crate that depends on this feature.

Affects h2::proto, h2::frame

parsed

Enables cookie, mime, multer, and serde_urlencoded

Affects error::ParseError, common::parsed

encoding

Enables brotli ^3.3 and flate2

Features from optional dependencies

monoio-native-tls implicit feature

Enables monoio-native-tls ^0.3.0

monoio-native-tls:

Asynchronous TLS streams wrapper for Monoio based on NativeTLS