Cargo Features

mio_httpc has no features set by default.

[dependencies]
mio_httpc = { version = "0.10.5", features = ["native", "rtls", "openssl"] }
default

Default does not work for https.

native = crypto-hash, native-tls

Affects tls_api::native

rtls = ring, rustls, rustls-pemfile, webpki, webpki-roots

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.

crypto-hash native?
openssl implicit feature

Enables openssl

openssl:

OpenSSL bindings

Affects tls_api::openssl

ring rtls?

Enables ring ^0.16

rustls rtls?

Enables rustls ^0.20.0

Affects tls_api::rustls

rustls-pemfile rtls?

Enables rustls-pemfile ^1

webpki rtls?
webpki-roots rtls?

Enables webpki-roots ^0.22

native-tls native?