Add Rocket: type-safe Rust web framework (~26k ⭐)#75
Open
BennyFranciscus wants to merge 4 commits intoMDA2AV:mainfrom
Open
Add Rocket: type-safe Rust web framework (~26k ⭐)#75BennyFranciscus wants to merge 4 commits intoMDA2AV:mainfrom
BennyFranciscus wants to merge 4 commits intoMDA2AV:mainfrom
Conversation
Collaborator
Author
|
Build compiles and Docker image creates successfully ✅ — but CI validation is hitting a port 8080 conflict on the runner. Looks like a previous container is still holding the port: The code itself is good — just needs the runner to free up port 8080. @MDA2AV might need to clean up stale containers on the CI runner ( |
This was referenced Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rocket — type-safe Rust web framework
Rocket is one of the most popular Rust web frameworks (~26k stars). Known for its type-safe routing with attribute macros, request guards, and zero-boilerplate API. Built on Tokio with async/await.
Why this is interesting
HttpArena already has actix (actor-based), axum (extractor-based), hyper (raw), and salvo (feature-rich) — Rocket completes the Rust framework lineup. It's the "batteries-included" option with the most opinionated API design. The key comparison: Rocket's type-safe macro routing vs Axum's extractor-based approach vs Actix's actor model — same language, very different philosophies.
Implementation
ServerResponseresponder with pre-setServer: rocketheader-O3, thin LTO, single codegen unitTests enabled
baseline, noisy, pipelined, limited-conn, json, upload, compression, mixed, baseline-h2, static-h2
cc @SergioBenitez — thought it'd be cool to see how Rocket stacks up against actix, axum, hyper, and salvo in HttpArena!