Cargo Features

unleash-api-client = { version = "0.10.0", default-features = false, features = ["backtrace", "functional", "reqwest-client", "reqwest-client-rustls", "strict", "surf-client"] }

Enable backtrace feature in anyhow

Enables backtrace of anyhow

default = surf-client

The surf-client feature is set by default whenever unleash-api-client is added without default-features = false somewhere in the dependency tree.


Enable the functional test suite

reqwest-client = reqwest

Enables default-tls of reqwest

reqwest-client-rustls = reqwest

For users that don't want to depend on OpenSSL.

Enables rustls-tls of reqwest


To error if an unsupported API feature is present

surf-client default = async-std, surf

For use with --no-default-features

Required by the dump-features binary

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

async-std surf-client

With default features

Required by the dump-features binary

surf surf-client

With default features

reqwest reqwest-client? reqwest-client-rustls?

With json