Browse Source

add metadata fields to [package] section in Cargo.toml

master
Jonathan Strong 2 years ago
parent
commit
c3506f9f59
  1. 2
      Cargo.lock
  2. 8
      Cargo.toml
  3. 6
      README.md
  4. 4
      doc/cli-menu.txt
  5. 1
      src/main.rs

2
Cargo.lock generated

@ -1310,7 +1310,7 @@ checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
[[package]]
name = "registry-backup"
version = "0.2.3"
version = "0.2.4"
dependencies = [
"chrono",
"clap",

8
Cargo.toml

@ -1,9 +1,15 @@
[package]
name = "registry-backup"
authors = ["Jonathan Strong <jstrong@shipyard.rs>"]
version = "0.2.3"
version = "0.2.4"
edition = "2021"
publish = ["shipyard-rs-public"]
readme = "README.md"
repository = "https://git.shipyard.rs/jstrong/registry-backup"
homepage = "https://git.shipyard.rs/jstrong/registry-backup"
documentation = "https://git.shipyard.rs/jstrong/registry-backup"
license-file = "LICENSE"
description = "CLI tool for backup/export of .crate files from a registry server"
[[bin]]
name = "registry-backup"

6
README.md

@ -39,7 +39,7 @@ $ cargo install registry-backup --git https://git.shipyard.rs/jstrong/registry-b
```console
$ ./target/release/registry-backup --help
registry-backup 0.2.3
registry-backup 0.2.4
Jonathan Strong <jstrong@shipyard.rs>
Download all .crate files from a registry server
@ -59,7 +59,7 @@ OPTIONS:
Directory where downloaded .crate files will be saved to [default: output]
-u, --user-agent <USER_AGENT>
Value of user-agent HTTP header [default: registry-backup/v0.2.3]
Value of user-agent HTTP header [default: registry-backup/v0.2.4]
--requests-per-second <REQUESTS_PER_SECOND>
Requests to registry server will not exceed this rate [default: 25]
@ -159,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 version of `README.md` was generated at `Fri, 09 Sep 2022 03:16:40 +0000` based on git commit `37e86bd4`.
This version of `README.md` was generated at `Fri, 09 Sep 2022 03:23:10 +0000` based on git commit `73f5fee4`.
To (re-)generate the `README.md` file, use the justfile command:

4
doc/cli-menu.txt

@ -1,4 +1,4 @@
registry-backup 0.2.3
registry-backup 0.2.4
Jonathan Strong <jstrong@shipyard.rs>
Download all .crate files from a registry server
@ -18,7 +18,7 @@ OPTIONS:
Directory where downloaded .crate files will be saved to [default: output]
-u, --user-agent <USER_AGENT>
Value of user-agent HTTP header [default: registry-backup/v0.2.3]
Value of user-agent HTTP header [default: registry-backup/v0.2.4]
--requests-per-second <REQUESTS_PER_SECOND>
Requests to registry server will not exceed this rate [default: 25]

1
src/main.rs

@ -95,7 +95,6 @@ pub struct HttpConfig {
#[clap(
author,
version,
about,
global_setting(clap::AppSettings::DeriveDisplayOrder)
)]
pub struct Config {

Loading…
Cancel
Save