Skip to content

Commit

Permalink
Disable default features for aws-lc-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored and cpu committed Aug 1, 2024
1 parent 746da00 commit 178ee6b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
15 changes: 4 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["rcgen", "rustls-cert-gen"]
resolver = "2"

[workspace.dependencies]
aws-lc-rs = "1.6.0"
aws-lc-rs = { version = "1.6.0", default-features = false }
pem = "3.0.2"
pki-types = { package = "rustls-pki-types", version = "1.4.1" }
rand = "0.8"
Expand Down
4 changes: 2 additions & 2 deletions rcgen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ zeroize = { version = "1.2", optional = true }
[features]
default = ["crypto", "pem", "ring"]
crypto = []
aws_lc_rs = ["crypto", "dep:aws-lc-rs"]
aws_lc_rs = ["crypto", "dep:aws-lc-rs", "aws-lc-rs/aws-lc-sys"]
ring = ["crypto", "dep:ring"]
fips = ["aws_lc_rs", "aws-lc-rs?/fips"]
fips = ["crypto", "dep:aws-lc-rs", "aws-lc-rs/fips"]

[package.metadata.docs.rs]
features = ["x509-parser"]
Expand Down
4 changes: 2 additions & 2 deletions rustls-cert-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ keywords.workspace = true

[features]
default = ["ring"]
aws_lc_rs = ["dep:aws-lc-rs", "rcgen/aws_lc_rs"]
aws_lc_rs = ["dep:aws-lc-rs", "rcgen/aws_lc_rs", "aws-lc-rs/aws-lc-sys"]
ring = ["dep:ring", "rcgen/ring"]
fips = ["aws_lc_rs", "aws-lc-rs?/fips"]
fips = ["dep:aws-lc-rs", "rcgen/aws_lc_rs", "aws-lc-rs/fips"]

[dependencies]
rcgen = { version = "0.13", path = "../rcgen", default-features = false, features = ["pem"] }
Expand Down

0 comments on commit 178ee6b

Please sign in to comment.