Cargo Features

[dependencies]
http-adapter-surf = { version = "0.2.0", default-features = false, features = ["curl-client", "h1-client", "h1-client-rustls", "hyper-client", "wasm-client", "default-client", "middleware-logger", "encoding"] }
default = curl-client, encoding, middleware-logger

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

curl-client default

Enables curl-client of surf

h1-client

Enables h1-client of surf

h1-client-no-tls h1-client-rustls

Enables h1-client-no-tls of surf

hyper-client

Enables hyper-client of surf

wasm-client

Enables wasm-client of surf

default-client

Enables default-client of surf

middleware-logger default

Enables middleware-logger of surf

encoding default

Enables encoding of surf

surf:

requires web-sys for TextDecoder on wasm

http-adapter-surf has 9 features without comments.