app-dirs-rs
app-dirs-rs copied to clipboard
Use proper path types
std::path::Path is the standard library's way of storing immutably borrowed paths. sanitized, app_dir and get_app_dir, however, use normal borrowed strings and try to enforce path separators via documentation, which is severely unidiomatic.