From 69a4da6ffbced52b3ce6f85dbea508c0833a2feb Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 22 Jul 2026 14:11:00 +0200 Subject: [PATCH] cargo/workspace: Reorder package metadata In all `/crates/*/Cargo.toml`, split package metadata into two or three blocks: 1. name, version, and description (in this order) 2. Further metadata defined per crate. 3. References to the workspace. Lines in blocks (2.) and (3.) are sorted lexicographically, and blocks are separated by empty lines. --- crates/radicle-cli-test/Cargo.toml | 10 ++++++---- crates/radicle-cli/Cargo.toml | 8 +++++--- crates/radicle-cob/Cargo.toml | 12 +++++++----- crates/radicle-core/Cargo.toml | 12 +++++++----- crates/radicle-crypto/Cargo.toml | 9 +++++---- crates/radicle-dag/Cargo.toml | 9 +++++---- crates/radicle-fetch/Cargo.toml | 5 +++-- crates/radicle-git-metadata/Cargo.toml | 12 +++++++----- crates/radicle-git-ref-format/Cargo.toml | 12 +++++++----- crates/radicle-localtime/Cargo.toml | 1 + crates/radicle-log/Cargo.toml | 9 +++++---- crates/radicle-node/Cargo.toml | 8 +++++--- crates/radicle-oid/Cargo.toml | 12 +++++++----- crates/radicle-protocol/Cargo.toml | 5 +++-- crates/radicle-remote-helper/Cargo.toml | 8 +++++--- crates/radicle-schemars/Cargo.toml | 11 ++++++----- crates/radicle-signals/Cargo.toml | 11 ++++++----- crates/radicle-systemd/Cargo.toml | 11 ++++++----- crates/radicle-term/Cargo.toml | 9 +++++---- crates/radicle-windows/Cargo.toml | 11 ++++++----- crates/radicle/Cargo.toml | 7 ++++--- 21 files changed, 111 insertions(+), 81 deletions(-) diff --git a/crates/radicle-cli-test/Cargo.toml b/crates/radicle-cli-test/Cargo.toml index ab11d7990..2fff73682 100644 --- a/crates/radicle-cli-test/Cargo.toml +++ b/crates/radicle-cli-test/Cargo.toml @@ -1,13 +1,15 @@ [package] name = "radicle-cli-test" -description = "Radicle CLI test library" -homepage.workspace = true -license.workspace = true version = "0.14.0" -edition.workspace = true +description = "Radicle CLI test library" + categories = ["development-tools::testing"] keywords = ["cli", "test", "command"] readme = "README.md" + +edition.workspace = true +homepage.workspace = true +license.workspace = true rust-version.workspace = true [dependencies] diff --git a/crates/radicle-cli/Cargo.toml b/crates/radicle-cli/Cargo.toml index 65e1bec23..82c4d3e4a 100644 --- a/crates/radicle-cli/Cargo.toml +++ b/crates/radicle-cli/Cargo.toml @@ -1,11 +1,13 @@ [package] name = "radicle-cli" +version = "0.22.0" description = "Radicle CLI" + +build = "build.rs" + +edition.workspace = true homepage.workspace = true license.workspace = true -version = "0.22.0" -edition.workspace = true -build = "build.rs" rust-version.workspace = true [[bin]] diff --git a/crates/radicle-cob/Cargo.toml b/crates/radicle-cob/Cargo.toml index 540b1773a..3ea7a8823 100644 --- a/crates/radicle-cob/Cargo.toml +++ b/crates/radicle-cob/Cargo.toml @@ -1,12 +1,14 @@ [package] name = "radicle-cob" -description = "Radicle Collaborative Objects library" -homepage.workspace = true -repository.workspace = true version = "0.21.0" -edition.workspace = true -license.workspace = true +description = "Radicle Collaborative Objects library" + keywords = ["radicle", "cob", "cobs"] + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [features] diff --git a/crates/radicle-core/Cargo.toml b/crates/radicle-core/Cargo.toml index 4c998352a..cdd09ef41 100644 --- a/crates/radicle-core/Cargo.toml +++ b/crates/radicle-core/Cargo.toml @@ -1,12 +1,14 @@ [package] name = "radicle-core" -description = "Radicle core data type definitions" -homepage.workspace = true -repository.workspace = true version = "0.4.0" -edition.workspace = true -license.workspace = true +description = "Radicle core data type definitions" + keywords = ["radicle", "git", "data-types"] + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true # For documentation of features refer to the module documentation in `./lib.rs` diff --git a/crates/radicle-crypto/Cargo.toml b/crates/radicle-crypto/Cargo.toml index 23f5c469c..7f075bec7 100644 --- a/crates/radicle-crypto/Cargo.toml +++ b/crates/radicle-crypto/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-crypto" -description = "Radicle cryptographic primitives" -homepage.workspace = true -repository.workspace = true -license.workspace = true version = "0.18.0" +description = "Radicle cryptographic primitives" + edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [features] diff --git a/crates/radicle-dag/Cargo.toml b/crates/radicle-dag/Cargo.toml index 56d2c67fa..b742d6c32 100644 --- a/crates/radicle-dag/Cargo.toml +++ b/crates/radicle-dag/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-dag" -description = "Radicle DAG implementation" -homepage.workspace = true -repository.workspace = true -license.workspace = true version = "0.10.0" +description = "Radicle DAG implementation" + edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [dependencies] diff --git a/crates/radicle-fetch/Cargo.toml b/crates/radicle-fetch/Cargo.toml index 6c04bce85..9f5694bec 100644 --- a/crates/radicle-fetch/Cargo.toml +++ b/crates/radicle-fetch/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "radicle-fetch" +version = "0.21.0" description = "Radicle fetch protocol" + +edition.workspace = true homepage.workspace = true license.workspace = true -version = "0.21.0" -edition.workspace = true rust-version.workspace = true [dependencies] diff --git a/crates/radicle-git-metadata/Cargo.toml b/crates/radicle-git-metadata/Cargo.toml index 3a66660a0..b9b71acf5 100644 --- a/crates/radicle-git-metadata/Cargo.toml +++ b/crates/radicle-git-metadata/Cargo.toml @@ -1,12 +1,14 @@ [package] name = "radicle-git-metadata" -description = "Radicle structs that carry Git commit metadata" -homepage.workspace = true -repository.workspace = true version = "0.2.0" -edition.workspace = true -license.workspace = true +description = "Radicle structs that carry Git commit metadata" + keywords = ["radicle", "git", "metadata"] + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [dependencies] diff --git a/crates/radicle-git-ref-format/Cargo.toml b/crates/radicle-git-ref-format/Cargo.toml index 8a00a7c3d..55592bf97 100644 --- a/crates/radicle-git-ref-format/Cargo.toml +++ b/crates/radicle-git-ref-format/Cargo.toml @@ -1,12 +1,14 @@ [package] name = "radicle-git-ref-format" -description = "Radicle re-exports and macros for `git-ref-format-core`" -homepage.workspace = true -repository.workspace = true version = "0.1.0" -edition.workspace = true -license.workspace = true +description = "Radicle re-exports and macros for `git-ref-format-core`" + keywords = ["radicle", "git", "refname", "ref", "references"] + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [features] diff --git a/crates/radicle-localtime/Cargo.toml b/crates/radicle-localtime/Cargo.toml index 0de8c5e4e..14daa15aa 100644 --- a/crates/radicle-localtime/Cargo.toml +++ b/crates/radicle-localtime/Cargo.toml @@ -2,6 +2,7 @@ name = "radicle-localtime" version = "0.1.0" description = "Minimal, zero-dependency, monotonic, unix time library." + edition.workspace = true homepage.workspace = true license.workspace = true diff --git a/crates/radicle-log/Cargo.toml b/crates/radicle-log/Cargo.toml index 7349210a9..6940efe71 100644 --- a/crates/radicle-log/Cargo.toml +++ b/crates/radicle-log/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-log" -description = "Radicle loggers" -homepage.workspace = true -repository.workspace = true -license.workspace = true version = "0.2.0" +description = "Radicle loggers" + edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [features] diff --git a/crates/radicle-node/Cargo.toml b/crates/radicle-node/Cargo.toml index 8001f0e7c..1eda038be 100644 --- a/crates/radicle-node/Cargo.toml +++ b/crates/radicle-node/Cargo.toml @@ -1,11 +1,13 @@ [package] name = "radicle-node" +version = "0.21.0" description = "The Radicle Node" + +build = "build.rs" + +edition.workspace = true homepage.workspace = true license.workspace = true -version = "0.21.0" -edition.workspace = true -build = "build.rs" rust-version.workspace = true [features] diff --git a/crates/radicle-oid/Cargo.toml b/crates/radicle-oid/Cargo.toml index d914abd96..2fb20680e 100644 --- a/crates/radicle-oid/Cargo.toml +++ b/crates/radicle-oid/Cargo.toml @@ -1,12 +1,14 @@ [package] name = "radicle-oid" -description = "Radicle representation of Git object identifiers" -homepage.workspace = true -repository.workspace = true version = "0.2.1" -edition.workspace = true -license.workspace = true +description = "Radicle representation of Git object identifiers" + keywords = ["radicle", "git", "oid"] + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true # For documentation of features refer to the module documentation in `./lib.rs` diff --git a/crates/radicle-protocol/Cargo.toml b/crates/radicle-protocol/Cargo.toml index 3fa2277b8..e57dd58f5 100644 --- a/crates/radicle-protocol/Cargo.toml +++ b/crates/radicle-protocol/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "radicle-protocol" +version = "0.9.0" description = "The Radicle Protocol" + +edition.workspace = true homepage.workspace = true license.workspace = true -version = "0.9.0" -edition.workspace = true rust-version.workspace = true [features] diff --git a/crates/radicle-remote-helper/Cargo.toml b/crates/radicle-remote-helper/Cargo.toml index df39e5851..5a4d0f0e8 100644 --- a/crates/radicle-remote-helper/Cargo.toml +++ b/crates/radicle-remote-helper/Cargo.toml @@ -1,11 +1,13 @@ [package] name = "radicle-remote-helper" +version = "0.18.0" description = "Radicle git remote helper" + +build = "build.rs" + +edition.workspace = true homepage.workspace = true license.workspace = true -version = "0.18.0" -edition.workspace = true -build = "build.rs" rust-version.workspace = true [[bin]] diff --git a/crates/radicle-schemars/Cargo.toml b/crates/radicle-schemars/Cargo.toml index 4ce604871..eaeb20792 100644 --- a/crates/radicle-schemars/Cargo.toml +++ b/crates/radicle-schemars/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-schemars" -description = "Utility to print JSON Schemas from the `radicle` crate" -homepage.workspace = true -repository.workspace = true -license.workspace = true -edition.workspace = true version = "0.9.0" +description = "Utility to print JSON Schemas from the `radicle` crate" + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [[bin]] diff --git a/crates/radicle-signals/Cargo.toml b/crates/radicle-signals/Cargo.toml index fca163de2..99dae6172 100644 --- a/crates/radicle-signals/Cargo.toml +++ b/crates/radicle-signals/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-signals" -description = "Radicle signal handling" -homepage.workspace = true -repository.workspace = true -license.workspace = true -edition.workspace = true version = "0.12.0" +description = "Radicle signal handling" + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [target.'cfg(unix)'.dependencies] diff --git a/crates/radicle-systemd/Cargo.toml b/crates/radicle-systemd/Cargo.toml index e129b8fd8..dc6002bee 100644 --- a/crates/radicle-systemd/Cargo.toml +++ b/crates/radicle-systemd/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-systemd" -description = "Radicle integration with Systemd" -homepage.workspace = true -repository.workspace = true -license.workspace = true -edition.workspace = true version = "0.13.0" +description = "Radicle integration with Systemd" + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [dependencies] diff --git a/crates/radicle-term/Cargo.toml b/crates/radicle-term/Cargo.toml index 59ab1e69b..18ef94f02 100644 --- a/crates/radicle-term/Cargo.toml +++ b/crates/radicle-term/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-term" -description = "Terminal library used by the Radicle CLI" -homepage.workspace = true -repository.workspace = true -license.workspace = true version = "0.19.0" +description = "Terminal library used by the Radicle CLI" + edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [features] diff --git a/crates/radicle-windows/Cargo.toml b/crates/radicle-windows/Cargo.toml index 2588243a1..543019daf 100644 --- a/crates/radicle-windows/Cargo.toml +++ b/crates/radicle-windows/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle-windows" -description = "Radicle integration with Windows" -homepage.workspace = true -repository.workspace = true -license.workspace = true -edition.workspace = true version = "0.1.0" +description = "Radicle integration with Windows" + +edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [target.'cfg(windows)'.dependencies] diff --git a/crates/radicle/Cargo.toml b/crates/radicle/Cargo.toml index 77b618d81..4fa4d8de1 100644 --- a/crates/radicle/Cargo.toml +++ b/crates/radicle/Cargo.toml @@ -1,11 +1,12 @@ [package] name = "radicle" description = "Radicle standard library" -homepage.workspace = true -repository.workspace = true -license.workspace = true version = "0.25.0" + edition.workspace = true +homepage.workspace = true +license.workspace = true +repository.workspace = true rust-version.workspace = true [features]