Rustaceans at the border
Rustaceans at the border
Posted Apr 15, 2022 23:14 UTC (Fri) by ssokolow (guest, #94568)In reply to: Rustaceans at the border by shemminger
Parent article: Rustaceans at the border
Which is why Cargo provides multiple mechanisms for allowing projects to choose a balance that works for them. For example:
- By default, it generates a lockfile that stores SHA256 hashes to ensure that an attempt to slip in an unapproved change will fail the fetch.
- The
cargo vendorcommand automates the process of vendoring your dependencies so you can have the benefits of a dependency manager without having to rely on an external source for the code. - Should you so choose, Cargo supports overriding package sources to map them to a mirror you control.
