axum 0.7 is finally out 🚀 #rustlang

Comes with hyper 1.0 support, axum's own Body type, and fewer generics.

https://tokio.rs/blog/2023-11-27-announcing-axum-0-7-0

Announcing axum 0.7.0 | Tokio - An asynchronous Rust runtime

Tokio is a runtime for writing reliable asynchronous applications with Rust. It provides async I/O, networking, scheduling, timers, and more.

@davidpdrsn Congrats, I'm excited for the AFIT feature eventually :) Mostly excited for tower 1.0 with AFIT because I always found writing Tower layers annoying, even once I finally understood how it all worked. I mostly just copied boilerplate approaches from my previous layers haha.

@adam_chal Thanks!

It’s unlikely tower can use AFIT because of the limitations around trait objects and declaring Send bounds. See https://github.com/tower-rs/tower/issues/753 for the full discussion.

`type_alias_in_trait` might be our savior though.

breaking change in tower design (0.6 or beyond): first class support for async fn traits · Issue #753 · tower-rs/tower

Hi, I would like to open this work to start the discussion and start to make progress towards getting tower ready for when async fn in traits and impl return values for traits are allowed. As I rea...

GitHub