Cargo Features

[dependencies]
hreq = { version = "0.8.0", default-features = false, features = ["gzip", "tls", "test-topsites", "server", "fuzz"] }
default = gzip, server, tls

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

gzip default = async-compression
tls default = rustls, webpki, webpki-roots

Affects reqb_ext::RequestBuilderExt.tls_disable_server_cert_verify, proto::ALPN_H1, proto::ALPN_H2

test-topsites
server default = futures-core, regex

Affects hreq::server

fuzz

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.

async-compression gzip

Enables async-compression ^0.3

gzip

rustls tls

Enables rustls ^0.19

tls

webpki tls

Enables webpki ^0.21

webpki-roots tls

Enables webpki-roots ^0.21

regex server

Enables regex

server

futures-core server