aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kiss-cargo-urlgen11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/kiss-cargo-urlgen b/contrib/kiss-cargo-urlgen
new file mode 100755
index 0000000..ba14aa9
--- /dev/null
+++ b/contrib/kiss-cargo-urlgen
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+[ "$1" ] || {
+ printf 'usage: kiss-carg-urlgen [crate-ver] [crate-ver]\n'
+ exit 1
+}
+
+for crate in "$@"; do
+ printf 'https://static.crates.io/crates/%s/%s.crate vendor\n' \
+ "${crate%-*}" "$crate"
+done