Skip to content

Commit

Permalink
Cargo: avoid unused aws-lc-rs default features
Browse files Browse the repository at this point in the history
The aws-lc-rs crate defaults to enabling the `ring-io` and
`ring-sig-verify` features, but we use neither in this crate. Avoiding
these features is beneficial because it prevents the inclusion of
a second copy of `untrusted` in the dependency tree.
  • Loading branch information
cpu authored and ctz committed Jan 31, 2024
1 parent 4d1ecc2 commit add8fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ring = ["dep:ring"]
std = ["alloc", "pki-types/std"]

[dependencies]
aws-lc-rs = { version = "1.0.0", optional = true }
aws-lc-rs = { version = "1", optional = true, default-features = false, features = ["aws-lc-sys"] }
pki-types = { package = "rustls-pki-types", version = "1", default-features = false }
ring = { version = "0.17", default-features = false, optional = true }
untrusted = "0.9"
Expand Down

0 comments on commit add8fd7

Please sign in to comment.