diff options
author | Teddy Wing | 2021-06-06 18:28:17 +0200 |
---|---|---|
committer | Teddy Wing | 2021-06-06 18:28:17 +0200 |
commit | 8c240d85a5720234f0093f876d9fdbfcc3f327e8 (patch) | |
tree | 19e8f9fca6356a5dce133e25f6e840c9082a7898 /Cargo.lock | |
parent | 60493a4851ac0e306dd53bc08470721424694b63 (diff) | |
download | reflectub-8c240d85a5720234f0093f876d9fdbfcc3f327e8.tar.bz2 |
Provide an option to skip repos larger than a given size
Allows a maximum repo size to be given as a command line argument.
Repos larger than this will not be mirrored. This gives us a way to save
server space by avoiding gigantic repositories.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -899,6 +899,12 @@ dependencies = [ ] [[package]] +name = "parse-size" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "944553dd59c802559559161f9816429058b869003836120e262e8caec061b7ae" + +[[package]] name = "percent-encoding" version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1044,6 +1050,7 @@ dependencies = [ "futures", "getopts", "git2", + "parse-size", "reqwest", "serde", "sqlx", |