4 ms·
Package managers that use git are less prone to this kinda of attack (goland, rust).
by pknopf 2y ago
Package managers that use git are less prone to this kinda of attack (goland, rust).
- steveklabnik 2y agoCargo does not “use git.”
- AnyTimeTraveler 2y agoWhat they meant was probably, that you have the option to rely entirely on using git repositories for your dependencies or even just paths to other projects on your disk. You can also setup your own dependency registry and only work with that.
- steveklabnik 2y agoThat is possible but it’s not the default and isn’t as nice as the default is.
- 3836293648 2y agoCargo absolutely uses git, or else we wouldn't've had that thing where setting it to use the cli git instead of some reimplementation lead to massive speedups
- steveklabnik 2y agoWhat I mean is that it doesn’t use git as the source of truth for packages (unless you point at a git repo instead of crates.io). It does use a git repo for the index.