Cargo Features
[dependencies]
cargo-upgrades = { version = "2.1.2", default-features = false, features = ["aws_lc_rs", "ring-is-deprecated"] }
- 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
- ring-is-deprecated
-
Fall back to ring, which may not work with all TLS setups
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.