Skip to content

Update smithy-rs servers' dependencies on http, http-body, hyper, and tower-http. #3362

@david-perez

Description

@david-perez

Generated server SDKs use:

[dependencies.http]
version = "0.2.9"
[dev-dependencies.hyper]
version = "0.14.12"

And aws-smithy-http-server uses:

http = "0.2"
http-body = "0.4"
hyper = { version = "0.14.26", features = ["server", "http1", "http2", "tcp", "stream"] }
tower-http = { version = "0.3", features = ["add-extension", "map-response-body"] }

This is a breaking change because types from these crates are exposed in the tower::Service the generated SDKs export. http, http-body, hyper crates went 1.x.

Middleware authors using the 0.x versions of the http and http-body will be affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions