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 test_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.
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 usestower-http
for filesystem serving functions.I've manually tested serve with the
test_book
:I can't guarantee though that there are no regressions. I did not find integrations tests for the serve command.