Cargo Features

[dependencies]
xh = { version = "0.22.0", default-features = false, features = ["native-tls", "rustls", "network-interface", "online-tests", "ipv6-tests", "man-completion-gen"] }
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

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
man-completion-gen = clap_complete, roff

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.

clap_complete man-completion-gen?
roff man-completion-gen?