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.
This commit is contained in:
Lorenz Leutgeb
2026-07-22 16:44:58 +02:00
parent 024006297d
commit 69a4da6ffb
21 changed files with 111 additions and 81 deletions
+6 -4
View File
@@ -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]
+5 -3
View File
@@ -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]]
+7 -5
View File
@@ -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]
+7 -5
View File
@@ -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`
+5 -4
View File
@@ -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]
+5 -4
View File
@@ -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]
+3 -2
View File
@@ -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]
+7 -5
View File
@@ -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]
+7 -5
View File
@@ -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]
+1
View File
@@ -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
+5 -4
View File
@@ -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]
+5 -3
View File
@@ -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]
+7 -5
View File
@@ -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`
+3 -2
View File
@@ -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]
+5 -3
View File
@@ -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]]
+6 -5
View File
@@ -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]]
+6 -5
View File
@@ -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]
+6 -5
View File
@@ -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]
+5 -4
View File
@@ -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]
+6 -5
View File
@@ -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]
+4 -3
View File
@@ -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]