Rocket is a web framework for Rust that makes it simple to write fast, secure web applications without sacrificing flexibility, usability, or type safety. Handling forms is simple and easy. Simply derive FromForm for your structure and let Rocket know which parameter to use. Rocket parses and validates the form request, creates the structure, and calls your function. Bad form request? Rocket doesn’t call your function! What if you want to know if the form was bad? Simple! Change the type of task to Option or Result! Rocket has first-class support for JSON, right out of the box. Simply derive Deserialize or Serialize to receive or return JSON, respectively. Like other important features, JSON works through Rocket’s FromData trait, Rocket’s approach to deriving types from body data. It works like this: specify a data route parameter of any type that implements FromData. A value of that type will then be created automatically from the incoming request body.

Features

  • From request to response Rocket ensures that your types mean something
  • Spend your time writing code that really matters, and let Rocket generate the rest
  • Simple, intuitive APIs make Rocket approachable, no matter your background
  • Create your own first-class primitives that any Rocket application can use
  • Type safe, boilerplate free, easy to use, and extensible
  • Rocket has first-class support for JSON, right out of the box

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Rocket

Rocket Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Rocket!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Frameworks, Rust Web Development Frameworks

Registered

2021-04-29