|
|
@ -28,6 +28,12 @@ $ registry-backup \ |
|
|
|
--requests-per-second 10 |
|
|
|
--requests-per-second 10 |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Install |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
|
|
|
|
$ cargo install registry-backup --git https://git.shipyard.rs/jstrong/registry-backup.git |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Runtime Options |
|
|
|
## Runtime Options |
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
```console |
|
|
@ -103,6 +109,22 @@ format = "/{crate}/{version}/download" |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Build From Source |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
|
|
|
|
$ git clone https://git.shipyard.rs/jstrong/registry-backup.git |
|
|
|
|
|
|
|
$ cd registry-backup |
|
|
|
|
|
|
|
$ just release-build # alternatively, cargo build --bin registry-backup --release |
|
|
|
|
|
|
|
# ./target/release/registry-backup --help |
|
|
|
|
|
|
|
# cp target/release/registry-backup ~/.cargo/bin/ |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Running Tests |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```console |
|
|
|
|
|
|
|
$ just test # alternatively, cargo test |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
## Justfile |
|
|
|
## Justfile |
|
|
|
|
|
|
|
|
|
|
|
The repository includes a `justfile` with functionality for building, testing, etc. |
|
|
|
The repository includes a `justfile` with functionality for building, testing, etc. |
|
|
@ -137,7 +159,7 @@ The commands that mirror cargo commands (e.g. `just test`) are included for the |
|
|
|
|
|
|
|
|
|
|
|
This file is generated using a template (`doc/README.tera.md`) rendered using updated outputs of the CLI menu, config sample, and other values. |
|
|
|
This file is generated using a template (`doc/README.tera.md`) rendered using updated outputs of the CLI menu, config sample, and other values. |
|
|
|
|
|
|
|
|
|
|
|
This version of `README.md` was generated at `Fri, 09 Sep 2022 02:55:22 +0000` based on git commit `1c087e79`. |
|
|
|
This version of `README.md` was generated at `Fri, 09 Sep 2022 03:02:19 +0000` based on git commit `fd6191e9`. |
|
|
|
|
|
|
|
|
|
|
|
To (re-)generate the `README.md` file, use the justfile command: |
|
|
|
To (re-)generate the `README.md` file, use the justfile command: |
|
|
|
|
|
|
|
|
|
|
|