Cargo Features

zeptohttpc has no features set by default.

[dependencies]
zeptohttpc = { version = "0.10.2", features = ["encoding_rs", "flate2", "json", "tls", "tls-webpki-roots", "tls-native-roots", "rustls", "native-tls"] }
encoding_rs

Enables encoding_rs

flate2

Enables flate2

Affects body_writer::compressed_body, zeptohttpc::RequestExt.compressed

json

Enables serde and serde_json

Affects body_writer::json_body, zeptohttpc::RequestBuilderExt.json, zeptohttpc::RequestBuilderExt.json_buffered, zeptohttpc::ResponseExt.json

tls = tls-webpki-roots
tls-webpki-roots tls? = rustls

Enables once_cell and webpki-roots

tls-native-roots = rustls

Enables once_cell and rustls-native-certs

rustls tls-native-roots? tls-webpki-roots?

Enables rustls

Affects zeptohttpc::Options.client_config

native-tls

Enables native-tls

Affects zeptohttpc::Options.tls_connector