Closed as not planned
Description
What needs to be fixed?
The web server example should use a different framework. Rocket has been in a questionable maintenance status for years. Its latest stable release requires nightly. Newcomers may get a bad impression of the state of Rust's ecosystem, if the "officially" recommended web framework is poorly maintained and requires an unstable toolchain.
Judging from download numbers on crates.io and (subjectively perceived) "internet buzz", axum and actix-web are generally favored by the community these days. Both are stable and actively maintained.
Page(s) Affected
https://www.rust-lang.org/what/networking
Suggested Improvement
The code snippet using rocket should be replaced by one using axum or actix-web.
I will be happy to contribute this change if the maintainers agree with it.