From 08ac40ae852be1c16d8dffdd71689cc3e491ca04 Mon Sep 17 00:00:00 2001 From: candifloss Date: Mon, 18 Nov 2024 15:48:35 +0530 Subject: [PATCH] edited metadata --- Cargo.toml | 6 ++++++ src/main.rs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8abf818..ae14e97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,12 @@ name = "snot" version = "0.1.3" edition = "2021" authors = ["candifloss "] +description = "Simple NOTification" +license = "GPL-3.0-or-later" +repository = "https://git.candifloss.cc/candifloss/SNot" +homepage = "https://git.candifloss.cc/candifloss/SNot" +documentation = "https://git.candifloss.cc/candifloss/SNot" +readme = "README.md" [dependencies] zbus = "4.4.0" diff --git a/src/main.rs b/src/main.rs index 92942dd..54814c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,7 @@ use futures_util::stream::TryStreamExt; use zbus::{message::Body, Connection, Result}; const SERVER_NAME: &str = "SNot"; // Server software name -const VENDOR: &str = "candifloss.cc"; // Server software vendor +const VENDOR: &str = env!("CARGO_PKG_AUTHORS"); // Server software vendor const VERSION: &str = env!("CARGO_PKG_VERSION"); // Server software version, from Cargo.toml const SPEC_VERSION: &str = "0.42"; // DBus specification version const NOTIF_INTERFACE: &str = "org.freedesktop.Notifications"; // DBus interface name