Is Rust any good for building RESTful apis?

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

    Mold: A Modern Linker 🦠

    Using Mold as my linker, I have incremental compile times usually less than 2 seconds. Some libraries ("crates") use a lot of generics (e.g. the warp web server), and greatly slow it down, but avoiding them isn't very difficult.

  • Rocket

    A web framework for Rust.

    Rust is great at writing fast servers, for which I'd recommend Rocket (version ≥ 0.5.0) or Actix-web. Some of the article's claims are true, mostly relating to third-party libraries. However, I will disagree with a few things:

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

  • actix-web

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

    Rust is great at writing fast servers, for which I'd recommend Rocket (version ≥ 0.5.0) or Actix-web. Some of the article's claims are true, mostly relating to third-party libraries. However, I will disagree with a few things:

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

  • axum

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

    Yep! Check out Axum by the tokio people, it’s a relatively new framework but IMO really well designed and great to use

  • est

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