Cargo Features

[dependencies]
monoio-http-client = { version = "0.3.3", default-features = false, features = ["time", "rustls-unsafe-io", "native-tls", "logging"] }
default = time

The time feature is set by default whenever monoio-http-client is added without default-features = false somewhere in the dependency tree.

time default

Enable this feature to make connection pool periodically checking works.
You must enable time driver to use it.

rustls-unsafe-io

Note: rustls and native-tls cannot be enabled at the same time

Enables unsafe_io of monoio-rustls ^0.3.0

native-tls = monoio-native-tls

Enables native-tls

Affects connector::TlsStream, key::ServerName

logging = tracing

Enables logging of monoio-rustls ^0.3.0

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.

monoio-native-tls native-tls?

Enables monoio-native-tls ^0.3.0

tracing logging?