Cargo Features
unleash-api-client has no features set by default.
[dependencies]
unleash-api-client = { version = "0.11.0", features = ["backtrace", "functional", "reqwest-client", "reqwest-client-11", "reqwest-client-11-rustls", "reqwest-client-rustls", "strict", "surf-client"] }
- backtrace
-
Enable backtrace feature in anyhow
- default
-
Force clients to make a choice about which client to use
- functional
-
Enable the functional test suite
- reqwest-client = reqwest
-
Built in HTTP clients
Enables default-tls of optional reqwest
- reqwest-client-11 = reqwest-11
-
Enables default-tls of optional reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- reqwest-client-11-rustls = reqwest-11
-
For users that don't want to depend on OpenSSL.
Enables rustls-tls of optional reqwest ^0.11
- reqwest-client-rustls = reqwest
-
Enables rustls-tls of optional reqwest
- strict
-
To error if an unsupported API feature is present
- surf-client = 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.