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

nel_h2
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it 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