Nicolas Fränkel · @frankel
867 followers · 1111 posts · Server mastodon.top

Decrusting the crate by @jonhoo

youtube.com/watch?v=Wnb_n5YktO

A detailed deep-dive in the axum crate. Long (+2 hours) but worth your while

#Axum #rust

Last updated 1 year ago

Dmitry Kudryavtsev · @skwee357
44 followers · 268 posts · Server mstdn.social

Published a new snippet:

validated JSON request extractor. In case you need yieldcode.blog/snippets/axum-v

#Axum #Rust

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
430 followers · 1508 posts · Server fosstodon.org

I enjoyed the talk by @davidpdrsn about the API evolution of :ablobcatheart:

youtube.com/watch?v=w1atdqNsA8

#Axum #rustlang #rust

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
391 followers · 1400 posts · Server fosstodon.org

I did develop and publish it in about 6 days in my free time. For people that say that is an overkill for backends 🤨

It is often a matter of practice to be productive in any language. Rust already offers the ecosystem.

I did write a helper library that is highly opinionated to be even more productive and share code between my + + projects:

docs.rs/oxi-axum-helpers/lates

It is not documented yet 😅 I will document it and might even write a blog post about it 😃

#rust #Axum #sqlx #askama #rustlang

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
391 followers · 1399 posts · Server fosstodon.org

OxiTraffic: Self-hosted, simple and privacy respecting website traffic tracker 🌐

A web app that I did write with to see how many read my blog posts 🧐

I did just publish version 0.2 which I consider ready for public usage 🤗

The screenshot shows the call history of one of my blog posts 📈

Check out the README for a demo and more details about how it works and how you can host it:

codeberg.org/mo8it/oxitraffic

#rust #Axum #rustlang #selfhosted #analytics #indieweb

Last updated 1 year ago

Alex Michael Berry :ferris:🐈 · @almibe
77 followers · 266 posts · Server fosstodon.org

is really cool. Routes and handlers read really nicely and don't rely on magic. Don't have much else to say.

#Axum

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
568 followers · 3955 posts · Server floss.social

If you prefer a more written style of explanation of what Jon explained in their stream regarding the handler functions of @alexpusch has explained it here (not considering the `FromRequestParts` and `FromRequest` cases, so it's not equivalent, but still helpful):

github.com/alexpusch/rust-magi

#Axum #Rust #rustlang

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
567 followers · 3943 posts · Server floss.social

That is some true magic macro sauce right there in ! Nice!😄

What I don't understand:
What does it mean, when you assign/override a macro variable? I didn't know you can do this.😮

I mean this line:
github.com/tokio-rs/axum/blob/

#Axum #Rust #rustlang #macro

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
567 followers · 3943 posts · Server floss.social

😯 Jon's stream is about to start everyone! Yay! :awesome:

They are going to "decrust" the web framework.

See:
fosstodon.org/@jonhoo/11077602

#Axum #Rust #rustlang

Last updated 1 year ago

Rafael Caricio · @rafaelcaricio
449 followers · 2543 posts · Server fosstodon.org
Alex Michael Berry :ferris:🐈 · @almibe
72 followers · 226 posts · Server fosstodon.org

Did today, about to go to sleep with plans to dig into and in tomorrow. Pretty good weekend.

#barbenheimer #Axum #Leptos #rustlang

Last updated 1 year ago

jakswa · @jakswa
15 followers · 58 posts · Server fosstodon.org

do any web devs recommend their APM provider? or maybe host their own easily? I've got a simple app with some timings to 👁️.

#rustlang #Axum #rust

Last updated 1 year ago

Davide Tommasin ዳቪድ · @nagaye
136 followers · 3614 posts · Server sociale.network

🚨 🇪🇹 agonia senza fine per il popolo del 💔
Gli IDP, gli sfollati interni ad soffrono per fame nonostante siano passati 8 mesi dall'accordo di cessazione ostilità in cui è indicato l'obbligo di supporto umanitario‼️

youtube.com/watch?v=H7TNj7pn5H

#etiopia #Tigray #Axum #resumeaid4tigray #africa

Last updated 1 year ago

potato · @potatomeow
5 followers · 94 posts · Server fosstodon.org

had a debuggng session with app this morning. it turns out the route handler's parameter are ordered and the body param needs to be the last param, and unless i enabled axum's debug_handler, its error was misleading me to think i got my type parsed wrong or sth (╯°□°)╯︵ ┻━┻

#Axum

Last updated 1 year ago

potato · @potatomeow
5 followers · 87 posts · Server fosstodon.org

writing a api service with is pretty smooth. but when i begin to experiment different template libraries to provide html as a fullstack app, things got more difficult. and i slowed down so much to the point where i considering redo it with 😓

#rust #Axum #rails

Last updated 1 year ago

Michael Park · @mdawg
6 followers · 22 posts · Server fosstodon.org

🦀 and or 🧪 for scalable and performant side project? Experiences with either? I've done way too much so I want to try to be able to approach problems differently.

Axum would (I'm guessing) provide maximum performance but require a front-end with some JS to be dynamic but could be serverless. And elixir would allow for skipping a "frontend" due to the nature of the websocket approach but would run better scaled always running infra like k8s or fly.io

#Axum #diesel #PhoenixLiveView #python

Last updated 1 year ago

Jeff Mitchell · @sentinel1909
5 followers · 51 posts · Server hachyderm.io
Davide Tommasin ዳቪድ · @nagaye
126 followers · 3494 posts · Server sociale.network

Inutile che gov.🇮🇹 faccia finta che vada tutto bene, condividendo i post in cui l'ambasciata italiana in comunica che ha erogato 2MLN di euro per la tutela degli obelischi di come patrimonio se poi le persone in continuano a morire di fame silenziosamente‼️ Una politica coloniale di oggi come dei tempi più bui del ventennio di

#etiopia #Axum #unesco #Tigray #matrice #fascista

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
183 followers · 815 posts · Server fosstodon.org

🧰 integration in

mo8it.com/blog/sqlx-integratio

:ferris: backends are relatively easy after learning the basics of Rust!

:postgresql: This blog post is about using SQLx to interact with a database in an Axum backend.

⭐️ It does also show how to use states and return JSON in Axum.

It has been a while since my last blog post. This is because the new semester has started. I am trying my best 😅

Would you prefer shorter posts? ✂️

Made with ❤️ for the community.

#sqlx #Axum #rust #postgresql #rustlang

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
179 followers · 806 posts · Server fosstodon.org

I have removed my Github stars from projects related to Web with (Flask, SQLAlchemy, Guinicorn etc.) :python:

I feel guilty about me using them in the past... Poor users of my Python backend... :blobfoxmelt3:

and , let's dominate backends with ! :ferris: 🚀

Why? Reliability, correctness, performance, resource usage, etc.

#python #Axum #sqlx #rustlang #rust

Last updated 1 year ago