testeronious@lemmy.world to Rust@programming.dev · 3 months agounfmt: A compile-time pattern matching library that reverses the interpolation process of format!.github.comexternal-linkmessage-square2fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1external-linkunfmt: A compile-time pattern matching library that reverses the interpolation process of format!.github.comtesteronious@lemmy.world to Rust@programming.dev · 3 months agomessage-square2fedilink
minus-squarevoklen@programming.devlinkfedilinkarrow-up1·edit-23 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-squarefhoekstra@programming.devlinkfedilinkarrow-up1·3 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.
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.