Cargo Features

[dependencies]
http_io = { version = "0.3.0", default-features = false, features = ["std", "ssl-openssl", "ssl-rustls", "ssl-native-tls", "ssl"] }
default = ssl-native-tls, std

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

std default

Affects client::StdTransport, client::get, client::put, client::StdTransport

ssl-openssl = openssl, ssl
ssl-rustls = rustls, rustls-pemfile, ssl, webpki-roots
ssl-native-tls default = native-tls, ssl
ssl ssl-native-tls ssl-openssl? ssl-rustls?

Affects http_io::ssl, client::StdTransport

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.

openssl ssl-openssl?
rustls ssl-rustls?

Enables rustls ^0.20.8

webpki-roots ssl-rustls?
rustls-pemfile ssl-rustls?
native-tls ssl-native-tls