aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2021-06-06 18:28:17 +0200
committerTeddy Wing2021-06-06 18:28:17 +0200
commit8c240d85a5720234f0093f876d9fdbfcc3f327e8 (patch)
tree19e8f9fca6356a5dce133e25f6e840c9082a7898 /Cargo.toml
parent60493a4851ac0e306dd53bc08470721424694b63 (diff)
downloadreflectub-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.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 89a72ee..14e779a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,6 +11,7 @@ filetime = "0.2.14"
futures = { version = "0.3.15", features = ["thread-pool"] }
getopts = "0.2.21"
git2 = "0.13.20"
+parse-size = { version = "1.0.0", features = ["std"] }
reqwest = { version = "0.11.3", features = ["json"] }
serde = { version = "1.0.126", features = ["derive"] }
thiserror = "1.0.25"