From b3256a57881e53a1babc697e29482e2492b5de2f Mon Sep 17 00:00:00 2001 From: gibbz00 Date: Sat, 3 Feb 2024 09:04:24 +0100 Subject: [PATCH] Dist: Place shared package attributes in workspace `Cargo.toml` --- Cargo.toml | 8 ++++++++ crates/cli/Cargo.toml | 12 ++++++------ crates/lib/Cargo.toml | 14 +++++++------- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bd7e673..f040657 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,14 @@ resolver = "2" members = ["crates/*"] +[workspace.package] +keywords = ["sops", "encryption", "config"] +authors = ["Gabriel Hansson "] +repository = "https://github.com/gibbz00/rops" +license = "MPL-2.0" +exclude = ["/.github"] +edition = "2021" + [workspace.dependencies] aes-gcm = { version = "0.10", features = ["std"] } age = "0.9" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index aff4b09..110e99f 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -2,13 +2,13 @@ name = "rops-cli" version = "0.1.0" description = "SOPS CLI alternative in pure Rust" -license = "MPL-2.0" -authors = ["Gabriel Hansson "] -repository = "https://github.com/gibbz00/rops" -keywords = ["sops", "encryption", "config"] categories = ["cryptography", "command-line-utilities"] -exclude = ["/.github"] -edition = "2021" +license.workspace = true +authors.workspace = true +repository.workspace = true +keywords.workspace = true +exclude.workspace = true +edition.workspace = true [[bin]] name = "rops" diff --git a/crates/lib/Cargo.toml b/crates/lib/Cargo.toml index b80a7c6..25ae628 100644 --- a/crates/lib/Cargo.toml +++ b/crates/lib/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "rops" version = "0.1.0" -description = "SOPS library in pure Rust" -license = "MPL-2.0" -authors = ["Gabriel Hansson "] -repository = "https://github.com/gibbz00/rops" -keywords = ["sops", "encryption", "config"] +description = "SOPS-like library in pure Rust" categories = ["cryptography"] -exclude = ["/.github"] -edition = "2021" +license.workspace = true +authors.workspace = true +repository.workspace = true +keywords.workspace = true +exclude.workspace = true +edition.workspace = true [features] default = ["age", "aws-kms", "yaml", "json", "toml", "aes-gcm", "sha2"]