Can I specify that Cargo’s Git dependencies fetch with `--depth 1`?
Rust Internals
Can I specify that Cargo’s Git dependencies fetch with `--depth 1`?
After a quick search, it seems the answer is no for the current version of Cargo, so I posted this question on IRLO. Since I need to use cksumvfs—a feature not yet officially supported by rusqlite—I created a fork of rusqlite and tried to add the Git repository URL of that fork to the project’s dependencies. However, since rusqlite is a relatively large project, Cargo appears to fetch the entire history, which significantly slows down the first compilation. This is just a repository with a hist...
0 comments
No comments yet.