crates-mirror-0.1.0 is not a library.
crates-mirror
Crates-Mirror is a simple tool to provide a caching mirror for crates.io. It's serving a local index which is synced with a remote index. All requested crates are downloaded and cached localy for further usage.
Installing
You can install it using cargo install crates-mirror
Usage
Local
Stores the index localy on the filesystem.
= "/path/to/store/crates"
= "localhost:3000"
= "https://crates.io"
= 60 #seconds
= { = "https://github.com/rust-lang/crates.io-index"}
Remote Index
Stores the index in a remote git repositority.
= "/path/to/store/crates"
= "localhost:3000"
= "https://crates.io"
= 60 #seconds
= { = "https://github.com/rust-lang/crates.io-index", = "git@own.host/whatever"}
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.