From ba2844c7d1386e7dd2ccbfc911c2e50b34153b1e Mon Sep 17 00:00:00 2001 From: crapStone Date: Sat, 16 Jul 2022 02:34:51 +0200 Subject: [PATCH] prepare crates.io release --- Cargo.lock | 18 +++++++++--------- Cargo.toml | 8 +++++++- build.rs | 2 +- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0141983..52a3944 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -89,15 +89,6 @@ dependencies = [ "hashbrown", ] -[[package]] -name = "lamp" -version = "0.2.1" -dependencies = [ - "clap", - "clap_complete", - "exitcode", -] - [[package]] name = "libc" version = "0.2.126" @@ -110,6 +101,15 @@ version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21326818e99cfe6ce1e524c2a805c189a99b5ae555a35d19f9a284b427d86afa" +[[package]] +name = "r_lamp" +version = "0.2.1" +dependencies = [ + "clap", + "clap_complete", + "exitcode", +] + [[package]] name = "strsim" version = "0.10.0" diff --git a/Cargo.toml b/Cargo.toml index 16a773b..16053ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,9 +4,15 @@ # along with this program. If not, see . [package] -name = "lamp" +name = "r_lamp" version = "0.2.1" authors = ["crapStone "] +license = "GPL-3.0-or-later" +description = "A Linux backlight utility inspired by acpibacklight" +homepage = "https://codeberg.org/crapStone/lamp" +repository = "https://codeberg.org/crapStone/lamp" +readme = "README.md" +categories = ["command-line-utilities"] edition = "2021" build = "build.rs" diff --git a/build.rs b/build.rs index 8318948..e7c82bf 100644 --- a/build.rs +++ b/build.rs @@ -13,7 +13,7 @@ use clap_complete::{generate_to, shells, Generator}; include!("src/cli.rs"); -const OUTDIR: &str = "completions"; +const OUTDIR: &str = "target/completions"; fn main() -> Result<(), Error> { let mut cmd = build_cli();