Development Tools

Rocket – async web framework

Rocket is a web framework for Rust that makes it simple to write fast, secure web applications without sacrificing flexibility, usability, or type safety.

Rocket’s main task is to route incoming requests to the appropriate request handler using your application’s declared routes.

This is free and open source software.

Every request received by a Rocket web application follows a simple 3-step process from request to response.

  1. Rocket validates a matching request by ensuring that all of the types in a given handler can be derived from the incoming request. If the types cannot be derived, the request is forwarded to the next matching route until a route’s types validate or there are no more routes to try. If all routes fail, a customizable 404 error is returned.
  2. the request is processed by an arbitrary handler. This is where most of the business logic in an application resides, and the part of your applications you’ll likely spend the most time writing.
  3. If the function above is used as a handler, for instance, then the type T must implement Responder. Rocket provides many useful responder types out of the box.

Website: rocket.rs
Support: GitHub Code Repository
Developer: Sergio Benitez
License: Apache License Version 2.0 or MIT License

Rocket is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Rust Web Frameworks
axumErgonomic and modular web framework
warpComposable, web server framework
hyperProtective and efficient HTTP library
LocoWeb or API framework for Rust
GothamFlexible web framework that promotes stability, safety, security and speed
RocketAsync web framework focusing on usability, security, extensibility, and speed.
PoemFull-featured and easy-to-use web framework
ntexFramework for composable network services
TrilliumModular toolkit for building async web applications
zinoNext-generation framework for composable applications
IronExtensible, concurrency focused web development
VizFast, robust, flexible, lightweight web framework
Xitca-WebHTTP library and web framework
ThrusterFast, middleware based, web framework
RwfFull-stack Rust platform for scalable, database-backed applications
nickelSimple and lightweight foundation for web applications
CotRust toolkit for fast, type-safe apps with built-in admin tools
GraphulExpress inspired web framework
RoaAsync web framework inspired by koa, lightweight but powerful
OhkamiIntuitive and declarative web framework

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted