Cargo Features
[dependencies]
cargo-upgrades = { version = "2.2.0", default-features = false, features = ["aws_lc_rs", "ring-is-deprecated", "native-tls"] }
- default = aws_lc_rs
-
The
aws_lc_rs
feature is set by default whenevercargo-upgrades
is added without
somewhere in the dependency tree.default-features = false - aws_lc_rs default
-
Use aws_lc_rs which supports newer signature algorithms, such as p521
Enables aws_lc_rs of rustls, rustls-no-provider of ureq
- ring-is-deprecated
-
Fall back to ring, which may not work with all TLS setups
- native-tls
-
Enables native-tls of ureq
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.