Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/rust_duplicate_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ jobs:
# Repo-relative path to the offending Cargo.toml, and the line to change.
cargo_path="$dir/Cargo.toml"
cargo_line=$(grep -nE "^$crate[[:space:]]*=" Cargo.toml | head -1)
cur=$(printf '%s' "$cargo_line" | grep -oE '[0-9][0-9.]+' | head -1)
lineno=$(printf '%s' "$cargo_line" | cut -d: -f1)
# Strip grep -n's "N:" line-number prefix before reading the
# version, otherwise the line number is misread as the version.
cur=$(printf '%s' "${cargo_line#*:}" | grep -oE '[0-9][0-9.]+' | head -1)

echo "::error::$crate versions aren't consistent. Fix: pin it to $want in $cargo_path."
echo "In $cargo_path line $lineno, change"
Expand Down
2 changes: 1 addition & 1 deletion AwsEncryptionSDK/runtimes/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ readme = "README.md"
[dependencies]
aws-config = "1.8.12"
aws-lc-rs = {version = "1.18.0"}
aws-lc-sys = { version = "0.44", optional = true }
aws-lc-sys = { version = "0.45.0", optional = true }
aws-lc-fips-sys = { version = "0.14.1", optional = true }
aws-sdk-dynamodb = "1.103.0"
aws-sdk-kms = "1.98.0"
Expand Down
2 changes: 1 addition & 1 deletion TestVectors/runtimes/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ readme = "README.md"
[dependencies]
aws-config = "1.8.12"
aws-lc-rs = {version = "1.18.0"}
aws-lc-sys = { version = "0.44", optional = true }
aws-lc-sys = { version = "0.45.0", optional = true }
aws-lc-fips-sys = { version = "0.14.1", optional = true }
aws-sdk-dynamodb = "1.103.0"
aws-sdk-kms = "1.98.0"
Expand Down
Loading