gtkrs-tutorials icon indicating copy to clipboard operation
gtkrs-tutorials copied to clipboard

Suggestion: Consider migrating from `xdg` to `directories` or `dirs` for greater portability

Open EndilWayfare opened this issue 4 years ago • 1 comments

I know I'm probably in the minority of people who develop in Rust primarily for Windows, but I'm sure GTK app developers would like to target Windows and Mac as well as Linux, and in the most platform-idiomatic way possible (without requiring an inordinate amount of research or prior experience; MacOs, despite its BSD/Unix heritage, wants cache/config/data/etc. in spots different from XDG).

directories is probably more appropriate than dirs; it seems to target the same level of abstraction as xdg.

It also appears to be more actively maintained, for what that's worth.

EndilWayfare avatar Jul 19 '21 23:07 EndilWayfare

I would welcome a PR

mmstick avatar Jul 20 '21 10:07 mmstick