Cargo Features

[dependencies]
chttp = { version = "0.5.5", default-features = false, features = ["cookies", "http2", "json", "nightly", "psl", "static-curl", "middleware-api"] }
default = cookies, http2, static-curl

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

cookies default = chrono

Affects chttp::cookies

http2 default

Enables http2 of curl

json = serde, serde_json

Affects response::ResponseExt.json

nightly
psl = parking_lot, publicsuffix
static-curl default

Enables static-curl of curl

middleware-api

Affects chttp::middleware

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.

chrono cookies
parking_lot psl?

Enables parking_lot ^0.9

publicsuffix psl?

Enables publicsuffix ^1.5

serde json?
serde_json json?