when building arch linux COSMIC packages, it followes what popos guys do for debian builds, first step cargo vendor and then cargo build --release --frozen --offline
for arch linux this has the effect if the build breaks, and builds everything again fresh. when not vendoring, it continues where it got broken. so i am wondering what is the advantage of vendoring, and what cannot be achieved if vendoring would not exist?
I think the main use case for the cargo vendor command is to create standalone/selfcontained release artifacts (a source code tarball, for examaple), which is suitable to be built even on environment that may be physically isolated from the internet.