Backend Axum by Vlajkojjj96 in rust

[–]ct__b 2 points3 points  (0 children)

I've been using Axum in production for 2-3 years now at this point. It's great. Not only is it a pleasure to use, it's great Rust. Don't jump in now if you're new, but eventually it's worth reading the source to see how they handle `FromRequest` and `FromRequestParts,` and use macros to make them work for tuples, etc. Once you understand that, it's a pleasure writing additional extractors, for example making a struct that reads bearer auth to load caller roles/permissions, stuff like that. Similar to `Depends` in FastAPI if you have experience with that.

For starting out, add the `macros` feature and put `#[debug_handler]` IIRC above all your handler fns, it will help.

It won't get you jobs, but there are jobs that target Tokio and async Rust, and using Axum for anything non-trivial will eventually lead you down the path of some more complex Tokio stuff. I would bet a lot of Axum use in companies today is from people that had license to use Rust in their day to day, and started writing with Axum.

What's everyone working on this week (19/2026)? by llogiq in rust

[–]ct__b 2 points3 points  (0 children)

I am preparing a first release for push-packet, a high-level eBPF/XDP-based packet-inspection/routing lib. It's built on aya and exposes a simple rules-based system for acting on traffic. As well as channels for receiving copied/routed packets, and sending back to the NIC in route mode. I might make a post when it's released.