testeronious@lemmy.world to Rust@programming.dev · 8 months agounfmt: A compile-time pattern matching library that reverses the interpolation process of format!.github.comexternal-linkmessage-square9fedilinkarrow-up157arrow-down11
arrow-up156arrow-down1external-linkunfmt: A compile-time pattern matching library that reverses the interpolation process of format!.github.comtesteronious@lemmy.world to Rust@programming.dev · 8 months agomessage-square9fedilink
minus-squarevoklen@programming.devlinkfedilinkarrow-up9·edit-28 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-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-squarevoklen@programming.devlinkfedilinkarrow-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 😁