Add clap version, authors; Update metadata.

This commit is contained in:
Olivia Brooks
2026-01-26 22:21:10 -05:00
parent dafc6ea885
commit aa851f7616
2 changed files with 12 additions and 6 deletions

View File

@@ -2,23 +2,27 @@
name = "raven" name = "raven"
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
authors = ["Olivia Brooks", "Adrian Long"]
repository = "https://gitea.cutieguwu.ca/Cutieguwu/raven"
license = "MIT"
publish = false
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
bytesize = "2.3" bytesize = "2.3"
ron = "0.12" ron = "0.12"
sha256 = "1.6.0" sha256 = "1.6"
subprocess = "0.2" subprocess = "0.2"
toml = "0.9" toml = "0.9"
[dependencies.serde]
version = "1.0"
features =["derive"]
[dependencies.clap] [dependencies.clap]
version = "4.5" version = "4.5"
features = ["derive"] features = ["cargo", "derive"]
[dependencies.semver] [dependencies.semver]
version = "1.0" version = "1.0"
features = ["serde"] features = ["serde"]
[dependencies.serde]
version = "1.0"
features =["derive"]

View File

@@ -5,6 +5,8 @@ use clap::{ArgAction, Parser, Subcommand};
pub static CONFIG: LazyLock<Args> = LazyLock::new(|| Args::parse()); pub static CONFIG: LazyLock<Args> = LazyLock::new(|| Args::parse());
#[derive(Debug, Parser)] #[derive(Debug, Parser)]
#[clap(author, version)]
#[command(help_template = "{author-section}\n{usage-heading} {usage}\n\n{all-args}")]
pub struct Args { pub struct Args {
#[command(subcommand)] #[command(subcommand)]
pub command: Command, pub command: Command,