Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove aws-hyper #959

Merged
merged 8 commits into from
Dec 13, 2021
Merged

remove aws-hyper #959

merged 8 commits into from
Dec 13, 2021

Conversation

rcoh
Copy link
Collaborator

@rcoh rcoh commented Dec 10, 2021

Motivation and Context

https://github.com/awslabs/smithy-rs/blob/main/design/src/rfcs/rfc0006_service_specific_middleware.md

Fixes #934

Description

This moves the middleware defined in aws-hyper into aws-inlineable which allows each service to generate it's own middleware. Although this is not currently customized, it will be customized in the future by services such as S3 to bring a custom endpoint resolver.

Testing

  • many integration tests validate by-for-byte output
  • everything compiles

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
  • I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link

A new generated diff is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

@github-actions
Copy link

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

@github-actions
Copy link

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

@rcoh rcoh changed the title Replace generated code references to AwsMiddleware from hyper with in… remove aws-hyper Dec 13, 2021
@github-actions
Copy link

A new doc preview is ready to view.

@github-actions
Copy link

A new generated diff is ready to view.

@rcoh rcoh marked this pull request as ready for review December 13, 2021 14:42
@rcoh rcoh requested a review from a team as a code owner December 13, 2021 14:42
@github-actions
Copy link

A new generated diff is ready to view.

@github-actions
Copy link

A new doc preview is ready to view.

of `aws_smithy_client::Client` with the middleware type preset.

_Note:_ this crate will be removed in the future in favor of defining the middlewares directly in the service clients.
This crate has been removed. Middleware is now defined on a per-service basis.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice of you to leave a tombstone 🙂

@github-actions
Copy link

A new generated diff is ready to view.

@github-actions
Copy link

A new doc preview is ready to view.

@rcoh rcoh merged commit 6e16e2b into main Dec 13, 2021
@rcoh rcoh deleted the del-aws-hyper branch December 13, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove aws-hyper
2 participants