From 871a93d58f060346aab4c1742d774060ba08df19 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sat, 22 Feb 2025 11:08:15 -0800 Subject: [PATCH] Move most package metadata to workspace --- Cargo.toml | 9 +++++++++ notmuch/Cargo.toml | 10 +++++----- procmail2notmuch/Cargo.toml | 10 +++++----- server/Cargo.toml | 10 +++++----- shared/Cargo.toml | 10 +++++----- web/Cargo.toml | 12 ++++++------ 6 files changed, 35 insertions(+), 26 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e38f4df..a396319 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,15 @@ resolver = "2" default-members = ["server"] members = ["web", "server", "notmuch", "procmail2notmuch", "shared"] +[workspace.package] +authors = ["Bill Thiede "] +description = "Web frontend for letterbox" +edition = "2021" +license = "UNLICENSED" +publish = ["xinu"] +version = "0.7.0" + + [profile.dev] opt-level = 1 diff --git a/notmuch/Cargo.toml b/notmuch/Cargo.toml index 6ccd4e0..22118fe 100644 --- a/notmuch/Cargo.toml +++ b/notmuch/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "letterbox-notmuch" -version = "0.7.0" -edition = "2021" exclude = ["/testdata"] description = "Wrapper for calling notmuch cli" -license = "UNLICENSED" -repository = "https://git.z.xinu.tv/wathiede/letterbox" -publish = ["xinu"] +authors.workspace = true +edition.workspace = true +license.workspace = true +publish.workspace = true +version.workspace = true [dependencies] diff --git a/procmail2notmuch/Cargo.toml b/procmail2notmuch/Cargo.toml index caa2936..73843c6 100644 --- a/procmail2notmuch/Cargo.toml +++ b/procmail2notmuch/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "letterbox-procmail2notmuch" -version = "0.7.0" -edition = "2021" description = "Tool for generating notmuch rules from procmail" -license = "UNLICENSED" -repository = "https://git.z.xinu.tv/wathiede/letterbox" -publish = ["xinu"] +authors.workspace = true +edition.workspace = true +license.workspace = true +publish.workspace = true +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/server/Cargo.toml b/server/Cargo.toml index 56b673b..830abb7 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "letterbox-server" -version = "0.7.0" -edition = "2021" default-run = "letterbox-server" description = "Backend for letterbox" -license = "UNLICENSED" -repository = "https://git.z.xinu.tv/wathiede/letterbox" -publish = ["xinu"] +authors.workspace = true +edition.workspace = true +license.workspace = true +publish.workspace = true +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/shared/Cargo.toml b/shared/Cargo.toml index dee74b2..3bc5906 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "letterbox-shared" -version = "0.7.0" -edition = "2021" description = "Shared module for letterbox" -license = "UNLICENSED" -repository = "https://git.z.xinu.tv/wathiede/letterbox" -publish = ["xinu"] +authors.workspace = true +edition.workspace = true +license.workspace = true +publish.workspace = true +version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/web/Cargo.toml b/web/Cargo.toml index 043c9fa..89b2134 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -1,12 +1,12 @@ [package] -version = "0.7.0" name = "letterbox-web" -authors = ["Bill Thiede "] -edition = "2021" -description = "Web frontend for letterbox" -license = "UNLICENSED" repository = "https://git.z.xinu.tv/wathiede/letterbox" -publish = ["xinu"] +description = "Web frontend for letterbox" +authors.workspace = true +edition.workspace = true +license.workspace = true +publish.workspace = true +version.workspace = true [build-dependencies] build-info-build = "0.0.39"