Skip to content

Change: XDG compliance with sudo support#397

Open
MordechaiHadad wants to merge 3 commits into
devfrom
fix/xdg-compliance-with-sudo
Open

Change: XDG compliance with sudo support#397
MordechaiHadad wants to merge 3 commits into
devfrom
fix/xdg-compliance-with-sudo

Conversation

@MordechaiHadad
Copy link
Copy Markdown
Owner

Summary

Moved back to XDG instead of hard coding paths as they are brittle.

Description

Moved to XDG compliance for unix using the previously used dirs crate, and added users crate for a more robust sudo handling.

Type of change

  • - Bug fix (non-breaking change which fixes an issue)
  • - New feature (non-breaking change which adds functionality)
  • - Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • - Documentation update

Checklist

Checklist tick-boxes

  1. Conformity
  • - My code follows the style guidelines of this project
  • - Code is formatted with cargo fmt
  • - No clippy warnings (run cargo clippy --all-targets -- -D warnings)
  1. Best-Effort
  • - My changes generate no new warnings
  • - I have performed a self-review of my own code
  • - I have commented my code, particularly in hard-to-understand areas
  1. Documentation
  • - Any documentation that relates to this PR has been updated
    or will be updated in a PR (Link here: )(if applicable)
  1. Tests
  • - I have added tests that prove my fix is effective or that my feature works
  • - New and existing unit tests pass locally with my changes
  1. Dependencies
  • - Any dependent changes have been merged and published in downstream modules

@MordechaiHadad MordechaiHadad changed the base branch from master to dev March 8, 2026 13:10
@MordechaiHadad
Copy link
Copy Markdown
Owner Author

Huh so users crate is no longer maintained rip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant