Skip to content

Commit

Permalink
patch bump and pin at dev-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Jan 31, 2024
1 parent 88baaf9 commit c01822e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
2 changes: 1 addition & 1 deletion bindings/rust/generate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ publish = false
bindgen = "0.65"
glob = "0.3"
regex = "=1.9.6" # newer versions require rust 1.65, see https://github.com/aws/s2n-tls/issues/4242
home = "=0.5.5" # newer versions require rust 1.70
home = "=0.5.5" # newer versions require rust 1.70, see https://github.com/aws/s2n-tls/issues/4395
6 changes: 3 additions & 3 deletions bindings/rust/s2n-tls-sys/templates/Cargo.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "s2n-tls-sys"
description = "A C99 implementation of the TLS/SSL protocols"
version = "0.2.0"
version = "0.1.3"
authors = ["AWS s2n"]
edition = "2021"
rust-version = "1.63.0"
Expand Down Expand Up @@ -40,8 +40,8 @@ libc = "0.2"

[build-dependencies]
cc = { version = "1.0", features = ["parallel"] }
home = "=0.5.5" # a transitive dependency of aws-lc-sys. newer versions require rust 1.70
regex = "=1.9.6" # a transitive dependency of aws-lc-sys. newer versions require rust 1.65, see https://github.com/aws/s2n-tls/issues/4242

[dev-dependencies]
jobserver = "=0.1.26" # newer versions require rust 1.66, see https://github.com/aws/s2n-tls/issues/4241
home = "=0.5.5" # newer versions require rust 1.70, see https://github.com/aws/s2n-tls/issues/4395
regex = "=1.9.6" # newer versions require rust 1.65, see https://github.com/aws/s2n-tls/issues/4242
12 changes: 5 additions & 7 deletions bindings/rust/s2n-tls-tokio/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "s2n-tls-tokio"
description = "An implementation of TLS streams for Tokio built on top of s2n-tls"
version = "0.2.0"
version = "0.1.3"
authors = ["AWS s2n"]
edition = "2021"
rust-version = "1.63.0"
Expand All @@ -15,13 +15,9 @@ default = []
errno = { version = "0.3" }
libc = { version = "0.2" }
pin-project-lite = { version = "0.2" }
s2n-tls = { version = "=0.2.0", path = "../s2n-tls" }
s2n-tls = { version = "=0.1.3", path = "../s2n-tls" }
tokio = { version = "1", features = ["net", "time"] }

[build-dependencies]
home = "=0.5.5" # a transitive dependency of aws-lc-sys. newer versions require rust 1.70
regex = "=1.9.6" # a transitive dependency of aws-lc-sys. newer versions require rust 1.65, see https://github.com/aws/s2n-tls/issues/4242

[dev-dependencies]
clap = { version = "3", features = ["derive"] }
rand = { version = "0.8" }
Expand All @@ -30,4 +26,6 @@ tokio = { version = "1", features = [ "io-std", "io-util", "macros", "net", "rt-
# this version pin is only needed to prevent verification failures when using
# cargo package / cargo publish, as those commands do not respect the version pin
# in downstream dev-dependencies (in s2n-tls-sys, in this case)
jobserver = "=0.1.26"
jobserver = "=0.1.26"
home = "=0.5.5" # newer versions require rust 1.70, see https://github.com/aws/s2n-tls/issues/4395
regex = "=1.9.6" # newer versions require rust 1.65, see https://github.com/aws/s2n-tls/issues/4242
12 changes: 5 additions & 7 deletions bindings/rust/s2n-tls/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "s2n-tls"
description = "A C99 implementation of the TLS/SSL protocols"
version = "0.2.0"
version = "0.1.3"
authors = ["AWS s2n"]
edition = "2021"
rust-version = "1.63.0"
Expand All @@ -19,14 +19,10 @@ testing = ["bytes"]
bytes = { version = "1", optional = true }
errno = { version = "0.3" }
libc = "0.2"
s2n-tls-sys = { version = "=0.2.0", path = "../s2n-tls-sys", features = ["internal"] }
s2n-tls-sys = { version = "=0.1.3", path = "../s2n-tls-sys", features = ["internal"] }
pin-project-lite = "0.2"
hex = "0.4"

[build-dependencies]
home = "=0.5.5" # a transitive dependency of aws-lc-sys. newer versions require rust 1.70
regex = "=1.9.6" # a transitive dependency of aws-lc-sys. newer versions require rust 1.65, see https://github.com/aws/s2n-tls/issues/4242

[dev-dependencies]
bytes = "1"
futures-test = "0.3"
Expand All @@ -37,4 +33,6 @@ checkers = "0.6"
# this version pin is only needed to prevent verification failures when using
# cargo package / cargo publish, as those commands do not respect the version pin
# in downstream dev-dependencies (in s2n-tls-sys, in this case)
jobserver = "=0.1.26"
jobserver = "=0.1.26"
home = "=0.5.5" # newer versions require rust 1.70, see https://github.com/aws/s2n-tls/issues/4395
regex = "=1.9.6" # newer versions require rust 1.65, see https://github.com/aws/s2n-tls/issues/4242

0 comments on commit c01822e

Please sign in to comment.