News for hackers. Stuff that matters.
Re:Dependencies Belong in Version Control by kibwen on Sunday November 26, 2023 @05:35PM (#38425745)
And cargo-vendor is available out of the box as well (although it doesn't go quite so far as to add the entire Rust compiler toolchain to your repo): https://doc.rust-lang.org/cargo/commands/cargo-vendor.html
Re:Dependencies Belong in Version Control by reactordev on Sunday November 26, 2023 @09:00PM (#38427241)
Exactly, In case you need to transport your dependencies and build air-gapped (happens) or you need to make some modifications (keep them as patches please, to be re-applied). Not so you can check them all into your repo. You should .gitignore your vendor folder.