pub fn cache_dir() -> Option<PathBuf>
Return the cache directory for the current platform or XDG_CACHE_HOME if specified.