Add clap version, authors; Update metadata.
This commit is contained in:
16
Cargo.toml
16
Cargo.toml
@@ -2,23 +2,27 @@
|
||||
name = "raven"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
authors = ["Olivia Brooks", "Adrian Long"]
|
||||
repository = "https://gitea.cutieguwu.ca/Cutieguwu/raven"
|
||||
license = "MIT"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
bytesize = "2.3"
|
||||
ron = "0.12"
|
||||
sha256 = "1.6.0"
|
||||
sha256 = "1.6"
|
||||
subprocess = "0.2"
|
||||
toml = "0.9"
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0"
|
||||
features =["derive"]
|
||||
|
||||
[dependencies.clap]
|
||||
version = "4.5"
|
||||
features = ["derive"]
|
||||
features = ["cargo", "derive"]
|
||||
|
||||
[dependencies.semver]
|
||||
version = "1.0"
|
||||
features = ["serde"]
|
||||
|
||||
[dependencies.serde]
|
||||
version = "1.0"
|
||||
features =["derive"]
|
||||
|
||||
@@ -5,6 +5,8 @@ use clap::{ArgAction, Parser, Subcommand};
|
||||
pub static CONFIG: LazyLock<Args> = LazyLock::new(|| Args::parse());
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
#[clap(author, version)]
|
||||
#[command(help_template = "{author-section}\n{usage-heading} {usage}\n\n{all-args}")]
|
||||
pub struct Args {
|
||||
#[command(subcommand)]
|
||||
pub command: Command,
|
||||
|
||||
Reference in New Issue
Block a user