Cargo Features
[dependencies]
isahc = { version = "1.7.2", default-features = false, features = ["cookies", "http2", "json", "nightly", "psl", "spnego", "static-curl", "static-ssl", "text-decoding", "unstable-interceptors"] }
- default = http2, static-curl, text-decoding
-
These default features are set whenever
isahc
is added without
somewhere in the dependency tree.default-features = false -
Affects
config::Configurable.cookie_jar
,isahc::cookies
,response::ResponseExt.cookie_jar
… - http2 default
- json = serde, serde_json
-
Affects
response::ReadResponseExt.json
,response::AsyncReadResponseExt.json
,response::JsonFuture
… - nightly
- psl = httpdate, parking_lot, publicsuffix
- spnego
- static-curl default
-
Enables static-curl of curl
- static-ssl
-
Enables static-ssl of curl
- text-decoding default = encoding_rs, mime
-
Affects
response::ReadResponseExt.text
,response::AsyncReadResponseExt.text
… - unstable-interceptors
-
Affects
isahc::interceptor
…
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.