In my career I worked with plenty of different software that require the presence of certain environment variables for them to function properly. From time to time I would notice that the program either offers it as an option or requires you to have XDG_... type variable be set in your environment. I never looked too deeply into it, however I understood that it provided base paths for the locations of configuration and application files. I simply never tried to understand what those variables...| Evgenii Pendragon
Related articles| wiki.archlinux.org
When you use the Rust programming language toolchain, usually through a cargo command, it needs a place to store a bunch of config files, caches, and the cargo binary itself. By default, that place will be your operating system’s user directory, which I’m going to refer to as $HOME or ~, where it will put a .cargo folder.| PoignardAzur