Skip to content

sdk: Replace hyper with axum for local servers #3357

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

Merged
merged 3 commits into from
Apr 29, 2024
Merged

Conversation

zecakeh
Copy link
Collaborator

@zecakeh zecakeh commented Apr 27, 2024

hyper::Server was dropped in hyper 1, without a replacement. If we want to have all crates depending on http 1 in the end, we need to replace it.

The SSO login was tested to work with Fractal, and the oidc_cli example was tested too.

Related to #3255.

hyper::Server was dropped in hyper 1, without a replacement.
Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner April 27, 2024 15:44
@zecakeh zecakeh requested review from andybalaam and removed request for a team April 27, 2024 15:44
Copy link

codecov bot commented Apr 27, 2024

Codecov Report

Attention: Patch coverage is 87.50000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 83.65%. Comparing base (dddc607) to head (0e0a406).

Files Patch % Lines
crates/matrix-sdk/src/matrix_auth/login_builder.rs 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3357      +/-   ##
==========================================
+ Coverage   83.64%   83.65%   +0.01%     
==========================================
  Files         242      242              
  Lines       25016    25012       -4     
==========================================
+ Hits        20924    20925       +1     
+ Misses       4092     4087       -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

zecakeh added 2 commits April 27, 2024 18:34
Version 0.7.5 triggers a warning in
our version of rust nightly in CI,
but we can't update it to a recent
version because it triggers a warning
caused by displaydoc

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh changed the title sdk: Replace hyper with axum for SSO login sdk: Replace hyper with axum for local servers Apr 27, 2024
Copy link
Member

@Hywan Hywan 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 to me, thanks!

@Hywan Hywan merged commit 5e2a246 into matrix-org:main Apr 29, 2024
35 checks passed
@zecakeh zecakeh deleted the use-axum branch April 30, 2024 13:23
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.

2 participants