zero-to-production VS axum

Compare zero-to-production vs axum and see what are their differences.

zero-to-production

Code for "Zero To Production In Rust", a book on API development using Rust. (by LukeMathWalker)

axum

Ergonomic and modular web framework built with Tokio, Tower, and Hyper (by tokio-rs)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
zero-to-production axum
85 150
4,695 16,097
- 6.0%
4.0 9.3
about 1 month ago 6 days ago
Rust Rust
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

zero-to-production

Posts with mentions or reviews of zero-to-production. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-09.
  • Empowering Web Privacy with Rust: Building a Decentralized Identity Management System
    3 projects | dev.to | 9 Apr 2024
    Zero to Production in Rust - Book by Luca Palmieri: An in-depth book that guides readers through building a fully functional backend application in Rust, from zero to production.
  • Rust books to read
    2 projects | /r/rust | 23 Jun 2023
    And the book "Zero To Production In Rust - An introduction to backend development", I didn’t read it yet but seems pretty good
  • How to read a YAML configuration file in my Rust service?
    1 project | /r/rust | 30 May 2023
    It’s a lot simpler if you add serde to the mix (derive Deserialize for your settings types). Have a look at the example from the Zero to Production book: https://github.com/LukeMathWalker/zero-to-production/blob/main/src/configuration.rs
  • Ask HN: What to use for a Rest API written in Rust?
    1 project | news.ycombinator.com | 28 May 2023
    You probably want to check out the Zero to Production book which is about using Rust for back-end development.

    https://www.zero2prod.com/

  • I’ve fallen in love with rust so now what?
    10 projects | /r/rust | 21 May 2023
    If your'e more into a tutorial with a book https://www.zero2prod.com/ is really good. You gonna build a newsletter service. With all the good stuff in backend development.
  • Hyper – A fast and correct HTTP implementation for Rust
    14 projects | news.ycombinator.com | 12 May 2023
    If you want to build a backend in Rust, Axum (which uses hyper underneath) is pretty recommended these days, as it's all in the tokio ecosystem. Actix Web is good too, but it has its own ecosystem of libraries. I read the book Zero To Production in Rust [0] which was a great overview on not just Rust but scalable backend architectures as a whole.

    Interestingly, Cloudflare wanted to use hyper but found that it was too correct, so they had to build their own [1].

    [0] https://www.zero2prod.com

    [1] https://blog.cloudflare.com/how-we-built-pingora-the-proxy-t...

  • Conversion?
    3 projects | /r/rust | 6 May 2023
    In addition to the book, which has already been recommended. If you’re specifically into backend you should try Zero to Production. Luca really knows what he’s talking about, and it’s an excellent overview of backend rust and the development process in general.
  • Do you know any programming tutorials where somebody explains how to write an app from the architecture point of view?
    2 projects | /r/learnprogramming | 3 May 2023
    I highly recommend the book Zero to Production in Rust which also has an associated GitHub. I like the style of the writing and the explanations used within the book. Even though it uses Rust, the concepts seem to work in any language - I have applied the concepts to both Go and Python in the past.
  • Opensource to learn from?
    1 project | /r/rust | 27 Apr 2023
    I would recommend you a book - "Zero to Production in Rust" https://www.zero2prod.com/
  • Simple projects to practice Rust?
    1 project | /r/rust | 26 Apr 2023
    if you want to learn more about web backend development there is nothing better then https://www.zero2prod.com/

axum

Posts with mentions or reviews of axum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • Bundle frontend into axum binary using include_dir
    1 project | dev.to | 14 Apr 2024
    There are some proposals on how to do it already such as https://github.com/tokio-rs/axum/issues/1698.
  • Prodzilla: From Zero to Prod with Rust and Shuttle
    6 projects | dev.to | 21 Feb 2024
    Moreover, I especially like where Rust is right now in the web space. It really feels like there’s a lot of smart people working on the next generation of web development tools - it feels like the place to be. There are a range of great open-source web dev tools that are just reaching critical levels of maturity. Axum, which I used to build Prodzilla, feels ready for out of the box web dev, and is crazy-performant, as I write about later. More recently available is Loco, a Rails-like framework for building web applications in Rust that's picking up steam. And in dev-tooling and hosting there’s Shuttle, a 1-line hosting solution for Rust backends.
  • CryptoFlow: Building a secure and scalable system with Axum and SvelteKit - Part 1
    3 projects | dev.to | 5 Jan 2024
    CryptoFlow is a full-stack web application built with Axum and SvelteKit. It's a Q&A system tailored towards the world of cryptocurrency!
  • Cryptoflow: Building a secure and scalable system with Axum and SvelteKit - Part 0
    12 projects | dev.to | 4 Jan 2024
    You also get to specify the accepted HTTP method of the URL via axum::routing. To answer its name, modularity, Axum also supports nested routes as we'll see later in this series. Next is the layer, a method used to apply tower::Layer to all routes before it. This means that routes added after the layer method will not have such a layer applied to their requests. In our case, we used the layer to add tracing to all HTTP requests and responses to our routes. This is needed for proper logging. The tower_http::trace::TraceLayer can even be really customised.
  • My first project with rust
    3 projects | /r/rust | 8 Dec 2023
    I build simple rust axum api server with Prisma client rust. This is my something done with rust and I really enjoyed rust!
  • Getting Started with Axum - Rust's Most Popular Framework
    5 projects | dev.to | 6 Dec 2023
    In this article we'll take a comprehensive look at how to use Axum to write a web service. This will also include the 0.7 changes.
  • How serve static files with rust?
    1 project | /r/rust | 6 Dec 2023
  • Trying out Leptos: Fine-grained Reactive Framework for Rust
    4 projects | dev.to | 18 Oct 2023
    You have a couple of options for the underlying web framework to pair with Leptos: Axum or Actix. Axum seems to carry more favour currently, so we start with that. Assuming you already have Rust set up on your system:
  • Help required: Port kellnr from rocket.rs to axum
    2 projects | /r/rust | 6 Oct 2023
    I’m the author of https://kellnr.io. When I started working on Kellnr three years ago, https://rocket.rs was “the web framework” to use. Unfortunately, the project seems dead. Before adding more functionality using an unmaintained framework, I want to port Kellnr to https://github.com/tokio-rs/axum.
  • Grimoire - A recipe management application.
    7 projects | /r/rust | 5 Oct 2023
    Web Framework : axum.

What are some alternatives?

When comparing zero-to-production and axum you can also consider the following projects:

rust-by-example - Learn Rust with examples (Live code editor included)

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

realworld-axum-sqlx - A Rust implementation of the Realworld demo app spec using Axum and SQLx.

Rocket - A web framework for Rust.

black-hat-rust - Applied offensive security with Rust - https://kerkour.com/black-hat-rust

poem - A full-featured and easy-to-use web framework with the Rust programming language.

rust-blog - Educational blog posts for Rust beginners

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

tour_of_rust - A tour of rust's language features

rust-web-framework-comparison - A comparison of some web frameworks and libs written in Rust

book - The Rust Programming Language

rust-web-benchmarks - Benchmarking web frameworks written in rust with rewrk tool.