Skip to content

Replace rocket with stable and maintained web framework #1783

Closed as not planned
@senekor

Description

@senekor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ContentThe written content on the website.C-BugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions