Considering moving from Rocket to Actix Web

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

    An HTTP library for Rust (by hyperium)

  • NVM, found the crate: https://crates.io/crates/hyper

  • ezsockets

    High-level declarative API for building WebSocket Clients and Servers in Rust 🦀

  • Check out ezsockets by /u/gbaranski. I also switched to Axum due to its WS support, in Actix it seems you need another crate and it's not really interoperable with the Tokio ecosystem generally, such as with tungstenite.

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

    A powerful web framework built with a simplified design.

  • If you come from golang or nodejs. You can try salvo: https://github.com/salvo-rs/salvo

  • actix-web

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

  • A lot of people are giving technical +1s to axum, but i would like to note that the tokio team- especially david pedersen, the lead developer of axum- is extremely friendly and helpful, even to my millions of stupid questions and small documentation PRs. The Actix team has been known to use slurs in their issues.

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