Cargo Features

[dependencies]
isahc-opendal-workaround = { version = "2.0.0-opendal.1", default-features = false, features = ["cookies", "http2", "json", "native-tls", "nightly", "psl", "rustls-tls", "rustls-tls-native-certs", "spnego", "static-curl", "static-ssl", "text-decoding", "unstable-interceptors"] }
default = http2, native-tls, static-curl, text-decoding

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

cookies = httpdate

Affects config::Configurable.cookie_jar, isahc-opendal-workaround::cookies, response::ResponseExt.cookie_jar

http2 default

Enables http2 of curl

json = serde, serde_json

Affects response::ReadResponseExt.json, response::AsyncReadResponseExt.json, response::JsonFuture

native-tls default

Enables ssl of curl and curl-sys

curl:

OpenSSL/system TLS backend

nightly
psl = httpdate, parking_lot, publicsuffix
rustls-tls rustls-tls-native-certs? = rustls-ffi

Enables rustls and static-curl of curl

rustls-tls-native-certs = data-encoding, rustls-native-certs, rustls-tls
spnego

Enables spnego of curl-sys

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-opendal-workaround::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.

serde_json json?
data-encoding rustls-tls-native-certs?
encoding_rs text-decoding
mime text-decoding
parking_lot psl?

Enables parking_lot >=0.9.0, <0.12.0

publicsuffix psl?
rustls-ffi rustls-tls?

Enables rustls-ffi ^0.8

rustls-native-certs rustls-tls-native-certs?

Enables rustls-native-certs ^0.6

serde json?
httpdate cookies? psl?