Cargo Features

[dependencies]
cyper = { version = "0.2.0", default-features = false, features = ["all", "native-tls", "rustls", "cookies", "json", "http2", "http3", "http3-altsvc", "once_cell_try", "nightly"] }
default = native-tls

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

all = cookies, http2, http3, http3-altsvc, json, native-tls, rustls
native-tls default all?

Enables native-tls of cyper-core

rustls all? http3?

Enables rustls of cyper-core

cookies all?

Enables cookie_store

json all?

Enables serde_json

http2 all?

Enables http2 of cyper-core and hyper-util

http3 all? http3-altsvc? = rustls

Enables compio-quic, h3, once_cell, and socket2, h3 of compio

http3-altsvc all? = http3
once_cell_try nightly?

Enables once_cell_try of compio

nightly = once_cell_try

Enables nightly of cyper-axum and cyper-core

Cyper has 11 features without comments.