Cargo Features
Tough has no features set by default.
[dependencies]
tough = { version = "0.19.0", features = ["fips", "http", "integ"] }
- fips
-
Enables fips of aws-lc-rs and rustls
aws-lc-rs:
require FIPS
- http = reqwest
-
Affects
tough::http
… - integ
-
The
integ
feature enables integration tests. These tests requirenoxious-server
to be installed on the host.
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.