Cargo Features

[dependencies]
hyper-socks2 = { version = "0.9.1", default-features = false, features = ["tls", "rustls"] }
default = tls

The tls feature is set by default whenever hyper-socks2 is added without default-features = false somewhere in the dependency tree.

tls default = hyper-tls
rustls = hyper-rustls, rustls-native-certs, rusttls

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.

hyper-tls tls

Enables hyper-tls

tls feature

hyper-rustls rustls?

Enables hyper-rustls ^0.26

rustls feature

rusttls rustls?

Enables rustls ^0.22

rustls-native-certs rustls?

Enables rustls-native-certs ^0.7