2 ms·
To be a little more explicit about it: * The index of packages on crates.io is stored in a git repository * Cargo knows how to clone that down without you hav
by steveklabnik 6y ago
To be a little more explicit about it:
* The index of packages on crates.io is stored in a git repository
* Cargo knows how to clone that down without you having git installed
* The contents of packages are not acquired by doing a git clone; source code is stored in an S3 bucket, and Cargo downloads it directly.
* You can have your project depend on a package that lives in a git repository, but you cannot upload a crate to crates.io that depends on a git repository. This means that this feature is mostly useful for end projects and private libraries, not public dependencies.