Can Cargo use Cache Directory Tagging Specification

I regularly run into the issue of providing all temp directories that are created by cargo to be excluded while running a tar command.

Is it a good idea for cargo to emit something like Cache Directory Tagging Specification based on configuration to indicate set of directories that can be safely excluded during "archiving" process if user desires so.


Lack of support for system-standard cache directories is a known issue:

Thanks you for the response. Let me follow the PR you mentioned.

See also