bee-san / bee-san/RustScan

use $XDG_CONFIG_HOME for default config file path

Open
#741 2 comments 10 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
20.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

It would be great it rustscan could use XDG_CONFIG_HOME on Linux to respect the XDG Base Directory spec and avoid cluttering the user's home directory. I believe it would make sense to check for an existing file here, then fallback to ~/.rustscan.toml if it does not exist. It may also make sense to support this on MacOS if the environment variable is set, as that seems to be a commonly requested feature in other software. I'm not sure of an equivalent on Windows.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.