cargo-cacher-0.1.1 is not a library.
cargo-cacher
cargo-cacher is a caching server in the same spirit as apt-cacher-ng. The goal is to allow recursive caching of the canonical crates.io index.
Usage
To configure your system to use a copy of cargo-cacher, you need to setup a .cargo/config file in your project, or in a containing folder. The contents of that folder should look like:
[]
[]
= "file:///configured/path/to/index"
[]
= "mirror"
= "https://doesnt-matter-but-must-be-present"
Once this is in place, your builds will go through the local proxy, and the crates will be pulled down to the local filesystem when they are first requested.
TODO
- Add expiration on background thread
- Add statistics
- Remote git server