Cargo Features
[dependencies]
unleash-api-client = { version = "0.10.0", default-features = false, features = ["backtrace", "functional", "reqwest-client", "reqwest-client-rustls", "strict", "surf-client"] }
- backtrace
-
Enable backtrace feature in anyhow
- default = surf-client
-
The
surf-client
feature is set by default wheneverunleash-api-client
is added without
somewhere in the dependency tree.default-features = false - functional
-
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
- 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.
- 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