this post was submitted on 01 Jan 2025
38 points (100.0% liked)

Rust Programming

8259 readers
1 users here now

founded 5 years ago
MODERATORS
 

axum is an ergonomic and modular web framework built with Tokio, Tower, and Hyper

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 week ago (1 children)

Yeah, it was kind of the last real blocker, but we have a somewhat special setup where we serve HTTP and gRPC on the same port, for which we had integrated Axum with Tonic. Before the 0.7 release, Axum had an example for how to do this. After the release, that example was commented out with a TODO. So, we were kind of waiting for that to be documented. I mean, I didn't have terribly high hopes, as they probably wouldn't put a TODO in there, if it was trivial to upgrade, but if they struggled with it, I really didn't want to have to figure it out myself.

But they seem to have actually even removed the example now, so I guess, it was the right call to just push through and throw down whatever ugly code makes it work...

[โ€“] [email protected] 3 points 1 week ago

Ah yeah, we recently removed that example because it was kind of hard to upgrade in a nice way. One could likely take the example from the PR branch here and submit it to tonic instead. I think they might have a bigger interest in having it.