Skip to content

Commit 35fda81

Browse files
committed
fix(bindings): Increase aws-lc-rs minimum version
1 parent 4b361d4 commit 35fda81

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

bindings/rust/extended/s2n-tls-sys/templates/Cargo.template

+4-5
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ stacktrace = []
3636
# unstable-foo = []
3737

3838
[dependencies]
39-
# aws-lc-rs 1.6.4 adds DEP_AWS_LC environment variables which are required to build s2n-tls-sys:
39+
# aws-lc-rs 1.12.0 specifies a minimum version for aws-lc-sys and aws-lc-fips-sys that include
40+
# DEP_AWS_LC environment variables, which are required to build s2n-tls-sys:
4041
# https://github.com/aws/aws-lc-rs/pull/335
41-
aws-lc-rs = { version = "1.6.4" }
42-
# aws-lc-rs 1.6.4 depends on aws-lc-sys 0.14.0, which requires libc 0.2.121:
43-
# https://github.com/aws/aws-lc-rs/blob/2298ca861234d4f43aecef2c7d7e822c60bc488a/aws-lc-sys/Cargo.toml#L65
44-
libc = "0.2.121"
42+
aws-lc-rs = { version = "1.12.0" }
43+
libc = "0.2"
4544

4645
[build-dependencies]
4746
cc = { version = "1.0.100", features = ["parallel"] }

bindings/rust/extended/s2n-tls-tokio/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ default = []
1313

1414
[dependencies]
1515
errno = { version = "0.3" }
16-
# A minimum libc version of 0.2.121 is required by aws-lc-sys 0.14.0.
17-
libc = { version = "0.2.121" }
16+
libc = { version = "0.2" }
1817
pin-project-lite = { version = "0.2" }
1918
s2n-tls = { version = "=0.3.9", path = "../s2n-tls" }
2019
tokio = { version = "1", features = ["net", "time"] }

bindings/rust/extended/s2n-tls/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ unstable-testing = []
2020

2121
[dependencies]
2222
errno = { version = "0.3" }
23-
# A minimum libc version of 0.2.121 is required by aws-lc-sys 0.14.0.
24-
libc = "0.2.121"
23+
libc = "0.2"
2524
s2n-tls-sys = { version = "=0.3.9", path = "../s2n-tls-sys", features = ["internal"] }
2625
pin-project-lite = "0.2"
2726
hex = "0.4"

0 commit comments

Comments
 (0)