feat: add Rocket as Rust web framework option#143
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Add Rocket v0.5 alongside Axum and Actix-web in the Rust ecosystem. Includes full ORM integration (sea-orm, sqlx, diesel), CORS via rocket_cors, GraphQL via async-graphql-rocket, and all logging/error handling combinations. Verified with cargo check on 4 combos.
3fd88a3 to
532ecb2
Compare
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.
Summary
"rocket"toRustWebFrameworkSchemaalongside axum and actix-web#[launch]macro,rocket::State,rocket_cors, andJsonresponsesFiles changed (13)
packages/types/src/schemas.ts"rocket"to enumpackages/types/src/option-metadata.tsapps/cli/src/prompts/rust-ecosystem.tstemplates/rust-base/Cargo.toml.hbstemplates/rust-base/crates/server/Cargo.toml.hbstemplates/rust-base/crates/server/src/main.rs.hbsapps/web/src/lib/constant.tsapps/web/src/lib/tech-icons.tsapps/web/src/lib/tech-resource-links.tspackages/template-generator/src/processors/readme-generator.tsapps/cli/test/rust-ecosystem.test.tsapps/cli/test/template-snapshots.test.tsVerification
cli-builder-sync.test.ts: 352 passrust-ecosystem.test.ts: 113 passtemplate-validation.test.ts: 92 passtemplate-snapshots.test.ts: 66 pass (updated)cargo check results (all 4 combos pass)
rocket + sea-orm: Finished dev profile in 38srocket + sqlx: Finished dev profile in 36srocket + diesel: Finished dev profile in 35srocket + none: Finished dev profile in 32sTest plan
cargo check