Hey rustaceans, which web framework you guys suggest for a small application?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Tide

    Fast and friendly HTTP server framework for async Rust

    Because you suggested it might be small I’d suggest tide. it is the flask/express/sinatra of rust: it handles routing, dealing with http parsing, and building http responses, and thats pretty much it. I havent done a thorough comparison, but my guess is its dependency footprint is a bit smaller (comparatively to other frameworks), which is nice.

  • actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

    Depending what you want to do :). I love actix_web, which is very fast and light-weight.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • tiny-http

    Low level HTTP server library in Rust

    tiny-http is small. You'll probably be able to make something with less than 1 Mb.

  • Rouille, Rust web server middleware

    Web framework in Rust (by tomaka)

    I don't have any Rust-relevant experience here, but if I wanted to build a web server in Rust and was okay with "reasonable" performance, I'd probably give rouille a try first.

  • Rocket

    A web framework for Rust.

    You can check maybe other discussions or issues, but this one I followed a while https://github.com/SergioBenitez/Rocket/discussions/2011

  • trillium

    🌱🦀🌱 Trillium is a composable toolkit for building internet applications with async rust

    i like trillium a lot. inspired by plug (elixir), you just add plugs in a vertical stack and the request goes from top to bottom. there is also ntex which has a ton of examples inspired by actix-web (might have been a fork) https://github.com/ntex-rs/examples

  • examples

    i like trillium a lot. inspired by plug (elixir), you just add plugs in a vertical stack and the request goes from top to bottom. there is also ntex which has a ton of examples inspired by actix-web (might have been a fork) https://github.com/ntex-rs/examples

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts