diff --git a/rust-runtime/aws-smithy-http-server-python/Cargo.toml b/rust-runtime/aws-smithy-http-server-python/Cargo.toml index 98bfe802fe..76f7f159f7 100644 --- a/rust-runtime/aws-smithy-http-server-python/Cargo.toml +++ b/rust-runtime/aws-smithy-http-server-python/Cargo.toml @@ -27,6 +27,11 @@ tls-listener = { version = "0.5.1", features = ["rustls", "hyper-h2"] } rustls-pemfile = "1.0.1" tokio-rustls = "0.23.4" lambda_http = { version = "0.7.1" } +# There is a breaking change in `lambda_runtime` between `0.7.0` and `0.7.1`, +# and `lambda_http` depends on `0.7` which by default resolves to `0.7.1` but in our CI +# we are running `minimal-versions` which downgrades `lambda_runtime` to `0.7.0` and fails to compile +# because of the breaking change. Here we are forcing it to use `lambda_runtime = 0.7.1`. +lambda_runtime = { version = "0.7.1" } num_cpus = "1.13.1" parking_lot = "0.12.1" pin-project-lite = "0.2"