aws: pin aws-smithy-runtime-api to a compatible version

We pin `aws-smithy-runtime` to 1.7.8 since
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2214,
we need to prevent `aws-smithy-runtime-api` from updating to `1.8.0` in
order for the build to pass after `cargo update`.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2218>
This commit is contained in:
Mathieu Duponchelle 2025-04-28 14:14:53 +02:00
parent 8596d34f19
commit ec79102ec5
3 changed files with 7 additions and 3 deletions

4
Cargo.lock generated
View file

@ -2576,6 +2576,7 @@ dependencies = [
"aws-sdk-transcribestreaming",
"aws-sdk-translate",
"aws-smithy-runtime",
"aws-smithy-runtime-api",
"aws-types",
"base32",
"bytes",
@ -3410,6 +3411,7 @@ dependencies = [
"aws-sigv4",
"aws-smithy-http 0.60.12",
"aws-smithy-runtime",
"aws-smithy-runtime-api",
"aws-smithy-types",
"aws-types",
"chrono",
@ -4896,7 +4898,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
dependencies = [
"cfg-if",
"windows-targets 0.52.6",
"windows-targets 0.48.5",
]
[[package]]

View file

@ -16,6 +16,7 @@ base32 = "0.5"
aws-config = "~1.5.18"
# needs this constraint to prevent adding aws-smithy-http 0.62 too
aws-smithy-runtime = "~1.7.8"
aws-smithy-runtime-api = "~1.7.4"
aws-sdk-s3 = "~1.76.0"
aws-sdk-transcribestreaming = "~1.63.0"
aws-sdk-translate = "~1.61.0"

View file

@ -42,6 +42,7 @@ url = "2"
aws-config = { version = "~1.5.18", optional = true }
# needs this constraint to prevent adding aws-smithy-http 0.62 too
aws-smithy-runtime = { version = "~1.7.8", optional = true }
aws-smithy-runtime-api = { version = "~1.7.4", optional = true }
aws-types = { version = "1.0", optional = true }
aws-credential-types = { version = "1.0", optional = true }
aws-sigv4 = { version = "~1.2.9", optional = true }
@ -87,8 +88,8 @@ capi = []
v1_22 = ["gst/v1_22", "gst-app/v1_22", "gst-video/v1_22", "gst-webrtc/v1_22", "gst-sdp/v1_22", "gst-rtp/v1_22"]
doc = []
aws = ["dep:aws-config", "dep:aws-smithy-runtime", "dep:aws-types", "dep:aws-credential-types", "dep:aws-sigv4",
"dep:aws-smithy-http", "dep:aws-smithy-types", "dep:aws-sdk-kinesisvideo",
aws = ["dep:aws-config", "dep:aws-smithy-runtime", "dep:aws-smithy-runtime-api", "dep:aws-types", "dep:aws-credential-types",
"dep:aws-sigv4", "dep:aws-smithy-http", "dep:aws-smithy-types", "dep:aws-sdk-kinesisvideo",
"dep:aws-sdk-kinesisvideosignaling", "dep:data-encoding", "dep:http", "dep:url-escape"]
janus = ["dep:http"]
livekit = ["dep:livekit-protocol", "dep:livekit-api"]