The config file resolution currently looks for $HOME/.config/dust/config.toml and $HOME/.dust.toml, so users who set XDG_CONFIG_HOME need to pass --config manually. Please resolve the default config path via XDG e.g. ${XDG_CONFIG_HOME:-$HOME/.config}/dust/config.toml. Popular Rust crates like dirs, directories, and xdg already follow this behavior. I'd recommend the former for this code base via its config_dir function.
The config file resolution currently looks for
$HOME/.config/dust/config.tomland$HOME/.dust.toml, so users who setXDG_CONFIG_HOMEneed to pass--configmanually. Please resolve the default config path via XDG e.g.${XDG_CONFIG_HOME:-$HOME/.config}/dust/config.toml. Popular Rust crates likedirs,directories, andxdgalready follow this behavior. I'd recommend the former for this code base via its config_dir function.