testeronious@lemmy.world to Rust · 9 months agounfmt: A compile-time pattern matching library that reverses the interpolation process of format!.github.comexternal-linkmessage-square9fedilinkarrow-up158arrow-down11
arrow-up157arrow-down1external-linkunfmt: A compile-time pattern matching library that reverses the interpolation process of format!.github.comtesteronious@lemmy.world to Rust · 9 months agomessage-square9fedilink
minus-squarevoklenlinkfedilinkarrow-up9·edit-29 months agoI love the concept! I recently wanted something just like this for a Flutter app I was making to parse a filename into a user defined format i.e. 2024-04-12.txt with %Y-%M-%D.txt to {year: 2024, month: 04, day: 12} I’ll certainty be using this the next time I need anything like that in Rust though.
minus-squarefhoekstralinkfedilinkarrow-up7·8 months agoOff-topic, but I recognise your name. Thank you for the Daily Diary App! I’m a huge fan, I use it every day for my gratitude routine.
minus-squarevoklenlinkfedilinkarrow-up4·8 months agoWow, I’ve never had anyone recognise my name for something I’ve made! Thank you so much and I’m glad you’re enjoying it 😁
I love the concept! I recently wanted something just like this for a Flutter app I was making to parse a filename into a user defined format i.e.
2024-04-12.txt
with%Y-%M-%D.txt
to{year: 2024, month: 04, day: 12}
I’ll certainty be using this the next time I need anything like that in Rust though.
Off-topic, but I recognise your name. Thank you for the Daily Diary App! I’m a huge fan, I use it every day for my gratitude routine.
Wow, I’ve never had anyone recognise my name for something I’ve made! Thank you so much and I’m glad you’re enjoying it 😁