Rouille is a micro-web-framework library. It creates a listening socket and parses incoming HTTP requests from clients, then gives you the hand to process the request. Rouille was designed to be intuitive to use if you know Rust. Contrary to express-like frameworks, it doesn't employ middlewares. Instead, everything is handled in a linear way. Concepts closely related to websites (like cookies, CGI, form input, etc.) are directly supported by rouille. More general concepts (like database handling or templating) are not directly handled, as they are considered orthogonal to the microweb framework. However, rouille's design makes it easy to use in conjunction with any third-party library without the need for any glue code. The rouille library just ignores this optimization and focuses on providing an easy-to-use synchronous API instead, where each request is handled in its own dedicated thread.

Features

  • Rouille was designed to be intuitive to use if you know Rust
  • Contrary to express-like frameworks, it doesn't employ middlewares
  • Concepts closely related to websites (like cookies, CGI, form input, etc.) are directly supported by rouille
  • Everything is handled in a linear way
  • Async I/O, green threads, coroutines, etc. in Rust are still very immature
  • Micro-web-framework library

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Rouille

Rouille Web Site

Other Useful Business Software
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Rouille!

Additional Project Details

Programming Language

Rust

Related Categories

Rust HTTP Servers, Rust Frameworks, Rust HTTP Clients

Registered

2023-05-17