Better HN
topnewbestaskshowjobs
Log inSign up

thecrm

51 karma · joined Apr 15, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

It doesn't just download random things. Cargo generates a Cargo.lock file with checksums and will make sure that those checksums match when building later on. It's about as safe as vendoring all dependencies while being far easier to work with (though tools like cargo-vendor do exist, of course).

Edit: for things like the kernel, vendoring dependencies is still probably not a bad idea, of course