Cargo Features

[dependencies]
xh = { version = "0.24.0", default-features = false, features = ["native-tls", "rustls", "network-interface", "online-tests", "ipv6-tests"] }
default = network-interface, online-tests, rustls

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

native-tls

Enables native-tls and native-tls-alpn of reqwest

rustls default

Enables rustls-tls, rustls-tls-native-roots and rustls-tls-webpki-roots of reqwest and rustls

Enable logging in transitive dependencies.
The rustls version number should be kept in sync with hyper/reqwest.

network-interface default

To be used by platforms that don't support binding to interface via SO_BINDTODEVICE Ideally, this would be auto-disabled on platforms that don't need it However: https://github.com/rust-lang/cargo/issues/1197 Also, see https://github.com/ducaale/xh/issues/330

Enables network-interface ^1.0.0

online-tests default
ipv6-tests