David Pedersen
5.1K posts


Pavex release ✅
Talk rehearsal (Nth) ✅
Workshop material ✅
Ready for @RustNationUK!
See you all in London next week!
English

@DavidPdrsn Yo, dude. I am a massive user of your Axum framework. I am working on my master's thesis these days. Would it be okay if I sent you a message with some questions?
English

@DavidPdrsn Serious question, can macros emit #cfg directives that are still recognized by the pre processor?
English

My finest work #L96" target="_blank" rel="nofollow noopener">github.com/tower-rs/tower…
English

@adam_chal I’ve written code like this a few dozen times #L627" target="_blank" rel="nofollow noopener">github.com/tokio-rs/axum/… 😅 welcome to syn
Not sure how to improve it other than a declarative macro that generates the early return but that’s meh 🤷
English

Working on Rust proc-macros again today. This function takes a type and unboxes it. Any comments or suggestions for how to improve this? #L161-L180" target="_blank" rel="nofollow noopener">github.com/KittyCAD/model…

English

@louispilfold I've used keyboardmaestro.com for years which I believe can do those things.
English

@mycoliza I mean of course. Pretty sure there aren't other languages than Rust. At least I haven't heard of any.
English

axum 0.7.3 now supports graceful shutdown 🚀
The API is pretty much identical to what it was in 0.6 #method.with_graceful_shutdown" target="_blank" rel="nofollow noopener">docs.rs/axum/latest/ax…
English

@algo_luca If you don't test your tests, are you then even testing?
English
David Pedersen retweetledi

Axum 0.6 to 0.7 in 5 Steps.
Quick and easy.
Big thanks to the Hyper, Tower, and Axum teams for this major milestone. (cc @DavidPdrsn)
youtube.com/watch?v=MvWCX5…
#rustlang #webdevelopment @rust10x

YouTube
English

@algo_luca That is a pretty stacked line up indeed. Maybe its time I make it to a rust conference 👀
English

I'm pumped to be part of the lineup this year!
Details on my talk will be coming out soon 🔥
Rust Nation UK 🦀@RustNationUK
Discover the best in Rust at Rust Nation UK! Our 2024 schedule is now live and it brings together top-notch speakers, contributors, and educators from across the globe for 2 days of immersive talks. Check out our exclusive line-up here -buff.ly/412iWm5 #rustnationuk
English

@jeremychone @rust10x That was necessary for the new `impl Clone for http::Extensions`, which was a frequently request feature and required for `impl<B: Clone> Clone for Request<B>`
English

@DavidPdrsn @rust10x Given the behind-the-scenes changes, this was a breeze! Well done.
The only thing that puzzled me is why the extensions require T: Clone for inserts while the get method still returns an Option<&T>. But that's nothing an Arc can't solve.
English

DONE: rust-web-app Production Blueprint updated to Axum 0.7
Repo: github.com/rust10x/rust-w…
Axum 0.6 to 0.7 commit: github.com/rust10x/rust-w…
Big kudos to @DavidPdrsn and the Axum and Tower Teams for their awesome work.
Happy coding!
#rustlang #axum #productiondcoding @rust10x
English

