Cargo Features

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

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.

functional

Enable the functional test suite

reqwest-client = reqwest

Enables default-tls of reqwest ^0.11.10

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

reqwest-client-rustls = reqwest

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

Enables rustls-tls of reqwest ^0.11.10

strict

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. These features may have been created by mistake, and this functionality may be removed in the future.

async-std surf-client

Required by the dump-features binary

surf surf-client
reqwest reqwest-client? reqwest-client-rustls?

Enables reqwest ^0.11.10