Using Rust to build a web API

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
  • 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.

  • 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.

    WorkOS logo
  • 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, and SQLite. (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