New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity

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

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • tonic

    A native gRPC client & server implementation with async/await support.

    We did also consider using Axum for tonic's router, but has put that idea on the back burner for now.

  • routerify

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

    Looks interesting. How does this compare to routerify?

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • prae

    This crate provides a convenient macro that allows you to generate type wrappers that promise to always uphold arbitrary invariants that you specified.

    Something like this should work pretty well, since it integrates with serde: https://github.com/teenjuna/prae

  • warp

    A super-easy, composable, web server framework for warp speeds.

    I liked a lot how simple and direct is to use your project. The examples are very clear. Next week, I'm going to take a deep look to check the Axum features, and make some benchmark in a real environment (something like this: https://github.com/seanmonstar/warp/issues/557).

  • rust-web-framework-comparison

    A comparison of some web frameworks and libs written in Rust

    I'm actively monitoring all frameworks since 2015 and right now there are 15(!) deprecated but also 12 active server frameworks. And I am really glad that there is a wide discussion and experimentation space to gradually unify the best of all approaches. And that's what makes the Rust community so valuable: creating the best together with patience and precision.

  • trillium

    🌱🦀🌱 Trillium is a composable toolkit for building web applications with async rust 🌱🦀🌱

    I've been planning on using trillium on a project, the main difference I can see between it and Axum is that Axum allows you to use existing tower middle ware, right?

  • axum

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

    I hope so. Would be cool to have. I haven't looked into it yet though. Someone did file an issue on it already https://github.com/tokio-rs/axum/issues/50

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

  • seamless

    An opinionated Rust library for creating simple JSON APIs that communicate over HTTP (by jsdw)

    I wrote a library (https://github.com/jsdw/seamless) to help generate typesafe and documented APIs (more opinionated and not supposed to do the other things you'd want from a web server, so it works alongside and not instead of one) and it looks like running this with axum will be a breeze, so I'll def be trying it out!

  • dropshot

    expose REST APIs from a Rust program

    i haven't tried it yet, but https://github.com/oxidecomputer/dropshot apparently offers automated OpenAPI generation: https://docs.rs/dropshot/0.5.1/dropshot/struct.ApiDescription.html

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