State of Rust for web backends

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • sea-orm

    🐚 An async & dynamic ORM for Rust

    There's SeaORM. (Which is built on top of SQLx if you prefer something more like SQLAlchemy's query builder layer without its ORM layer.)

  • mux

    A powerful HTTP router and URL matcher for building Go web servers with 🦍

    popular libraries looking for new maintainers and getting eventually archived ( https://github.com/gorilla/mux )

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • aws-lambda-rust-runtime

    A Rust runtime for AWS Lambda

    Hi, maybe check out https://github.com/awslabs/aws-lambda-rust-runtime there's some examples in there.. But essentially you can build a Lambda function and deploy to your AWS account with this toolset.

  • Rocket

    A web framework for Rust.

    I am the solo developer of two web applications which use backends (and frontends, I guess) written in Rust. I cannot recommend Rust highly enough for solo developers, even beginners in Rust. The first one uses Rocket, and it was my first real project where I really learned how to use Rust and get the most out of it in this domain. I'm still pretty happy with Rocket and enjoy developing on top of it, however I would not use it for a new project today.

  • actix-web

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

    The second one uses Actix and I'm still very happily developing on top of it today. Actix these days is my go-to for any web backend that needs to be written in Rust.

  • tokio

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...

    I started using axum earlier this year, it's a relatively young project, but builds on the shoulders of more established giants like tokio, hyper and tower, both enabling use of a wider ecosystem of utilities for your services (tower and tower-http provide already pretty common services/layers you might need).

  • hyper

    An HTTP library for Rust (by hyperium)

    I started using axum earlier this year, it's a relatively young project, but builds on the shoulders of more established giants like tokio, hyper and tower, both enabling use of a wider ecosystem of utilities for your services (tower and tower-http provide already pretty common services/layers you might need).

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • diesel

    A safe, extensible ORM and Query Builder for Rust

    I've been building a relatively small project with axum and diesel, and I'm pretty happy with it.

  • routerify

    A lightweight, idiomatic, composable and modular router implementation with middleware support for the Rust HTTP library hyper.rs

    You can checkout an example AWS Lambda entrypoint for an HTTP library Routerify (very similar to Axum) here: https://github.com/routerify/routerify/blob/master/examples/aws_lambda.rs

  • filter

    Simple apply/filter/reduce package.

    Also since generators are mentioned I recently came across this rob pike moment, he implemented a reduce function that takes and returns all interface{} types and uses reflection to check if the call is valid at runtime - that's the most typical Go that can ever be written in 40 lines - all that to make the point that it's useless. Such a great spirit. https://github.com/robpike/filter

  • lettre

    a mailer library for Rust

    lettre is the mails crate I'm hoping to use soon.

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