Any web frameworks that could compare to Symfony?

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

InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
  1. Symfony

    The Symfony PHP framework

    I know most devs want to see something like Rust on Rails which I'm totally okay with, but if I'm being honest my absolute favorite framework to use is Symfony (I can hear all of you Larvel devs typing your hate bellow, but just remember... Larvel is built using Symfony components).

  2. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  3. template-benchmarks-rs

    Discontinued Collected benchmarks for templating crates written in Rust

    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed.

  4. sea-orm

    🐚 An async & dynamic ORM for Rust

    SeaORM is the most advanced option right now (though a lot of people prefer to go direct to the underlying SQLx library) but it doesn't yet match Django ORM for offering auto-generation of draft database migrations, which is one of the things I'm unwilling to regress on. (i.e. so all I need to hand-edit is stuff like "that's a rename, not a remove+add" and so on)

  5. slm

    Slim, Jade like template engine for node

    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed.

  6. serde

    Serialization framework for Rust

    Figment or Confique would be the go-to configuration libraries. They both support Serde as a backend, and Serde supports a long list of formats including YAML so, once you've declared your schema, it's a matter of changing one line to switch between YAML, JSON, TOML, etc.

  7. markup.rs

    A blazing fast, type-safe template engine for Rust.

    (Sailfish is fastest, but it's syntax is of the more traditional <%= msg %> flavour and Markup.rs is second-fastest with a Maud-like syntax but the author apparently doesn't have time to rewrite the syntax reference, so you have to follow a link from the open issue to an old version of the README.)

  8. sailfish

    Simple, small, and extremely fast template engine for Rust

    (Sailfish is fastest, but it's syntax is of the more traditional <%= msg %> flavour and Markup.rs is second-fastest with a Maud-like syntax but the author apparently doesn't have time to rewrite the syntax reference, so you have to follow a link from the open issue to an old version of the README.)

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. maud

    :pencil: Compile-time HTML templates for Rust

    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed.

  11. Haml

    HTML Abstraction Markup Language - A Markup Haiku

    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed.

  12. actix-web

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

    You description of how dependency injection works in Symfony sounds like how actix-web uses generics to make its "Extractors" work and, while I haven't used Axum (The other big name in Rust), it appears to do the same thing.

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

  • Deploying your Rust WASM Game to Web with Shuttle & Axum

    4 projects | dev.to | 14 Feb 2024
  • Getting Started with Actix Web - The Battle-tested Rust Framework

    2 projects | dev.to | 15 Dec 2023
  • Getting Started with Axum - Rust's Most Popular Framework

    5 projects | dev.to | 6 Dec 2023
  • RustGPT: ChatGPT UI Built with Rust, Htmx, SQLite

    4 projects | news.ycombinator.com | 19 Nov 2023
  • What is the current ideal choice for server-side rendered web frameworks?

    3 projects | /r/rust | 8 Jun 2023

Did you know that Rust is
the 5th most popular programming language
based on number of references?