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

update hyper axum #322

Merged
merged 1 commit into from
Jan 3, 2025
Merged

update hyper axum #322

merged 1 commit into from
Jan 3, 2025

Conversation

banditopazzo
Copy link
Member

Fix #234

@banditopazzo
Copy link
Member Author

tokio-rs/axum#2941 was merged, but axum 0.8 is not released yet. we have to decide if we want to wait the release or depend on the main branch

@banditopazzo banditopazzo force-pushed the 234-update-hyper-axum branch from e1c22bc to 78d50c9 Compare January 1, 2025 21:50
@banditopazzo
Copy link
Member Author

axum 0.8 is released

@banditopazzo banditopazzo marked this pull request as ready for review January 2, 2025 09:43
Copy link
Member

@vadorovsky vadorovsky left a comment

Choose a reason for hiding this comment

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

Looks good

.method(Method::GET)
.uri(uri)
.body(Either::Right(Empty::<Bytes>::new()))
.map_err(|err| anyhow!("Error building the request. Reason: {}", err))?;
Copy link
Member

Choose a reason for hiding this comment

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

Super nit, something to handle in a separate PR: I think it would be better to use thiserror and return specific errors in such cases, especially since it's a client crate.

@banditopazzo banditopazzo merged commit e29bd9d into main Jan 3, 2025
21 checks passed
@banditopazzo banditopazzo deleted the 234-update-hyper-axum branch January 3, 2025 15:00
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.

update axum and hyper
2 participants