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] 0 points 1 week ago (2 children)

every once in a while i get it in my head to follow some web tutorial for a rust thing but then i grow weary knowing that syntax and structure will have changed dramatically in the month or two since the guide was made

[–] [email protected] 6 points 1 week ago* (last edited 1 week ago)

FWIW, the last breaking release of axum before this came out in Nov 2023.

I would also argue that the vast majority of axum tutorials still "work" - your app would panic at startup if using the old path capture syntax with a note that the syntax changed which should immediately get you back on track, and I wouldn't expect the other features that were changed in a breaking manner to be used in tutorials much.

[–] [email protected] 2 points 1 week ago (1 children)

Rust is an awesome language, but an outright disconcerting percentage of libraries have versions starting with "0", so I get what you mean. Keeping your dependencies up to date is usually no biggie, but it's definitely not always the easiest. There's also a bit of churn in what is considered the correct way to do things. Some stuff is settled, but some definitely isn't. So I get it if you don't want to jump in just yet.

[–] taladar 2 points 6 days ago

Out of all the languages I have ever worked with upgrading dependencies in Rust is literally the easiest. All the times when that was hard in Rust it was hard for reasons that literally affect all languages such as a library that had become unmaintained or a significant API change to an obscure library. The major libraries implementing common functionality are all very well managed and barely ever have breaking changes.