Port to Zig 0.11
Minimize allocation
Port to Zig 0.9
It's mi vida loca.
The implementation certainly lacks validation on platforms I cannot simulate. For production, a more mature library like known-folders should be preferred. Though, if you still want to help out, send patches to ~cnx/misc@lists.sr.ht using git send-email, with the following configurations:
git config sendemail.to '~cnx/misc@lists.sr.ht' git config format.subjectPrefix 'PATCH zig-loca'  
Loca is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.