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

refactor: Use axum for "mdbook serve" #2359

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

audunhalland
Copy link

This in my opinion brings mdbook's dependencies more in line with "the state of the art" of the Rust HTTP ecosystem.
It pulls in hyper v1 and uses tower-http for filesystem serving functions.

I've manually tested serve with the dummy_book:

  • serving pages from the book works
  • websocket-based auto-reload works
  • 404 page works

I can't guarantee though that there are no regressions. I did not find integrations tests for the serve command.

@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: waiting on a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants