Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: