Is there some crate which can portably manage preferences for an application? Something that knows that prefs under Linux go in ~/.something, and for Windows and Mac puts them wherever Microsoft and Apple wants you to put them this year.
If you just want the correct paths to store data, dirs can do that
Also directories adds some convenience structs/methods on top of
Thanks. That's exactly what I needed.