fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.9K
active users

#Axum

1 post1 participant0 posts today
Continued thread

Alright friendos, you're all welcome to try out my pixelflut server arche-noah 🌊
(link in post below ⬇️)

Some cool facts:

  • supports all kinds of protocols 📚
  • already pretty performant, 2 GiB/s throughput and I haven't even tried benchmarking 🏃
  • written with the help of #bevy #tokio #axum and other cool projects (thanks 💕)
  • some nice statistics ui 📈📉

Give it a ride! 🏄🏊🚣

2/? ✅
3/? ✅

Does there already exist an Extractor for Axum that answers the question "what language(s) does the user prefer" in the form of a list made up of standardized language enums?

I couldn't find one, so I ended up writing one. I can see about publishing the crate if anyone's interested.

Celebrating the new year with the release of #axum 0.8.0, the most popular web framework for #Rust. Bringing path parameter syntax changes, Option<T> as an extractor, and removing the async_trait dependency resulting in a MSRV bump to Rust 1.75.0.

tokio.rs/blog/2025-01-01-annou

tokio.rsAnnouncing axum 0.8.0 | Tokio - An asynchronous Rust runtimeTokio is a runtime for writing reliable asynchronous applications with Rust. It provides async I/O, networking, scheduling, timers, and more.
Replied in thread

@horusiath
Please can you elaborate? I'm about to use Actix as a localhost server which talks to an async linked API.

I asked both and Discords (the web framework from ) if this was a good idea and both said yes, no problem which you use with - they both rely on tokio which is also what the API that I will be talking to uses.

I chose Actix for a basic test because it looks easier for a newbie to use.

Published my first crate to crates.io recently. Nothing fancy, a simple #Axum layer for caching HTTP responses – with the option to reuse a stale response in case of failure to produce a new successful one – written for a project at work. Maybe someone else will find it useful. :)

crates.io/crates/axum-response

(I’ve been doing Rust for years, a bit ashamed I’d never published any open crate before; even if I’ve some small contributions to other projects)

crates.iocrates.io: Rust Package Registry

That fun thing of moving to a new language for day to day things and trying to find libraries and tooling that I'm happy with.

Todays adventure, looking for autogenerating openapi libraries for Axum that are stable and well maintained. I was using Aide but it seems to have gone unmaintained and I'm getting a fair few typing issues with it now and the fixes are in the deep dark macro layer that I don't really understand.

Any suggestions?

#django is awful, just awful. I just can't get over how much of the Internet runs on the world's slowest language with a library that relies almost entirely on string parsing and reflection, on a single thread, that defaults to non-async. If I could use #rust #axum I would, but I'm working with other people, and it seems like the only language other people know is Python, and so the great cycle of underutilized internet potential continues.