Cargo Features

[dependencies]
image_search = { version = "0.4.5", default-features = false, features = ["curl", "hyper", "wasm", "h1", "rustls", "blocking"] }
default = hyper

The hyper feature is set by default whenever image_search is added without default-features = false somewhere in the dependency tree.

curl

Use curl (through isahc) as the HTTP backend

Enables curl-client of surf

hyper default

Use hyper as the HTTP backend (default)

Enables hyper-client of surf

wasm

Use window.fetch as the HTTP backend for WASM

Enables wasm-client of surf

h1

Use async-h1 as the HTTP backend with native TLS for HTTPS

Enables h1-client of surf

rustls

Use async-h1 as the HTTP backend with rustls for HTTPS

Enables h1-client-rustls of surf

blocking

Blocking enables fetching images synchronously.

Affects image_search::blocking