Using Rust to build a web API

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • warp

    A super-easy, composable, web server framework for warp speeds. (by seanmonstar)

    My experience is great. I started with PHP and did a lot of Node/TypeScript (and a little Python) before starting Rust. I tried to develop an API with warp, it was really nice but I felt like it was less maintained over time so I migrated to Axum and I'm still really satisfied.

  • axum

    Ergonomic and modular web framework built with Tokio, Tower, and Hyper

    My experience is great. I started with PHP and did a lot of Node/TypeScript (and a little Python) before starting Rust. I tried to develop an API with warp, it was really nice but I felt like it was less maintained over time so I migrated to Axum and I'm still really satisfied.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • Gotham

    A flexible web framework that promotes stability, safety, security and speed.

    I don't have a big preference. I really like warp, I really like Axum, other frameworks look really nice so maybe I'll try those one day. Gotham is on my list, it looks really cool!

  • sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL. (by launchbadge)

    ​For the database stack, maybe check sqlx, it's not an ORM but the readme list two ORM base on it. The concept of sqlx is really cool IMO.

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