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

Axum 0.8 Listener impl for VsockListener #59

Open
kanpov opened this issue Jan 11, 2025 · 2 comments
Open

Axum 0.8 Listener impl for VsockListener #59

kanpov opened this issue Jan 11, 2025 · 2 comments

Comments

@kanpov
Copy link
Contributor

kanpov commented Jan 11, 2025

Skimming over axum 0.8 while migrating my projects to it, I noticed serve is now properly generic over a listener type and thus not limited to TCP, but this support is done via a trait in the axum crate, meaning orphan rule happiness ensues.

Here is the trait in question:

image

Logically, there should be an axum/axum08 feature that adds the relevant impl.

@kanpov
Copy link
Contributor Author

kanpov commented Feb 9, 2025

My attempt at implementing this is in #61.

@kanpov
Copy link
Contributor Author

kanpov commented Feb 14, 2025

I'll make a small demo bin-crate that actually tests the current impl and then close this, to make sure everything works.

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

No branches or pull requests

1 participant