cargo: Use `workspace.package` table

This removes redundancy from the manifest of many of our crates.

See: <https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table>
This commit is contained in:
Lorenz Leutgeb 2025-06-09 14:14:36 +02:00
parent eea6a9bc70
commit 6259a70327
17 changed files with 58 additions and 54 deletions

View File

@ -32,6 +32,10 @@ default-members = [
resolver = "2" resolver = "2"
[workspace.package] [workspace.package]
edition = "2021"
homepage = "https://radicle.xyz"
license = "MIT OR Apache-2.0"
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5"
version = "0.9.0" version = "0.9.0"
# Even though some crates in this workspace may build fine # Even though some crates in this workspace may build fine

View File

@ -1,11 +1,11 @@
[package] [package]
name = "radicle-cli-test" name = "radicle-cli-test"
description = "Radicle CLI test library" description = "Radicle CLI test library"
homepage = "https://radicle.xyz" homepage.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.11.0" version = "0.11.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"] authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021" edition.workspace = true
categories = ["development-tools::testing"] categories = ["development-tools::testing"]
keywords = ["cli", "test", "command"] keywords = ["cli", "test", "command"]
readme = "README.md" readme = "README.md"

View File

@ -1,11 +1,11 @@
[package] [package]
name = "radicle-cli" name = "radicle-cli"
description = "Radicle CLI" description = "Radicle CLI"
homepage = "https://radicle.xyz" homepage.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.13.0" version = "0.13.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"] authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021" edition.workspace = true
build = "build.rs" build = "build.rs"
rust-version.workspace = true rust-version.workspace = true

View File

@ -1,15 +1,15 @@
[package] [package]
name = "radicle-cob" name = "radicle-cob"
description = "Radicle Collaborative Objects library" description = "Radicle Collaborative Objects library"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
version = "0.14.0" version = "0.14.0"
authors = [ authors = [
"Alex Good <alex@memoryandthought.me>", "Alex Good <alex@memoryandthought.me>",
"Fintan Halpenny <fintan.halpenny@gmail.com>", "Fintan Halpenny <fintan.halpenny@gmail.com>",
] ]
edition = "2021" edition.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
keywords = ["radicle", "cob", "cobs"] keywords = ["radicle", "cob", "cobs"]
rust-version.workspace = true rust-version.workspace = true

View File

@ -1,8 +1,8 @@
[package] [package]
name = "radicle-crdt" name = "radicle-crdt"
version = "0.1.0" version = "0.1.0"
license = "MIT OR Apache-2.0" license.workspace = true
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[features] [features]

View File

@ -1,15 +1,15 @@
[package] [package]
name = "radicle-crypto" name = "radicle-crypto"
description = "Radicle cryptographic primitives" description = "Radicle cryptographic primitives"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.12.0" version = "0.12.0"
authors = [ authors = [
"cloudhead <cloudhead@radicle.xyz>", "cloudhead <cloudhead@radicle.xyz>",
"Fintan Halpenny <fintan.halpenny@gmail.com>", "Fintan Halpenny <fintan.halpenny@gmail.com>",
] ]
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[features] [features]

View File

@ -1,12 +1,12 @@
[package] [package]
name = "radicle-dag" name = "radicle-dag"
description = "Radicle DAG implementation" description = "Radicle DAG implementation"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
authors = ["cloudhead <cloudhead@radicle.xyz>"] authors = ["cloudhead <cloudhead@radicle.xyz>"]
version = "0.10.0" version = "0.10.0"
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[dependencies] [dependencies]

View File

@ -1,11 +1,11 @@
[package] [package]
name = "radicle-fetch" name = "radicle-fetch"
description = "Radicle fetch protocol" description = "Radicle fetch protocol"
homepage = "https://radicle.xyz" homepage.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.11.0" version = "0.11.0"
authors = ["Fintan Halpenny <fintan.halpenny@gmail.com>"] authors = ["Fintan Halpenny <fintan.halpenny@gmail.com>"]
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[dependencies] [dependencies]

View File

@ -1,11 +1,11 @@
[package] [package]
name = "radicle-node" name = "radicle-node"
description = "The Radicle Node" description = "The Radicle Node"
homepage = "https://radicle.xyz" homepage.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.11.0" version = "0.11.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"] authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021" edition.workspace = true
build = "build.rs" build = "build.rs"
rust-version.workspace = true rust-version.workspace = true

View File

@ -1,11 +1,11 @@
[package] [package]
name = "radicle-remote-helper" name = "radicle-remote-helper"
description = "Radicle git remote helper" description = "Radicle git remote helper"
homepage = "https://radicle.xyz" homepage.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.10.0" version = "0.10.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"] authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021" edition.workspace = true
build = "build.rs" build = "build.rs"
rust-version.workspace = true rust-version.workspace = true

View File

@ -1,10 +1,10 @@
[package] [package]
name = "radicle-schemars" name = "radicle-schemars"
description = "Utility to print JSON Schemas from the `radicle` crate" description = "Utility to print JSON Schemas from the `radicle` crate"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
edition = "2021" edition.workspace = true
version = "0.1.0" version = "0.1.0"
rust-version.workspace = true rust-version.workspace = true

View File

@ -1,10 +1,10 @@
[package] [package]
name = "radicle-signals" name = "radicle-signals"
description = "Radicle signal handling" description = "Radicle signal handling"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
edition = "2021" edition.workspace = true
version = "0.11.0" version = "0.11.0"
rust-version.workspace = true rust-version.workspace = true

View File

@ -1,8 +1,8 @@
[package] [package]
name = "radicle-ssh" name = "radicle-ssh"
description = "Radicle SSH library" description = "Radicle SSH library"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "Apache-2.0" license = "Apache-2.0"
version = "0.9.0" version = "0.9.0"
authors = [ authors = [
@ -10,7 +10,7 @@ authors = [
"Pierre-Étienne Meunier <pe@pijul.org>", "Pierre-Étienne Meunier <pe@pijul.org>",
"cloudhead <cloudhead@radicle.xyz>" "cloudhead <cloudhead@radicle.xyz>"
] ]
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[dependencies] [dependencies]

View File

@ -1,9 +1,9 @@
[package] [package]
name = "radicle-systemd" name = "radicle-systemd"
description = "Radicle integration with Systemd" description = "Radicle integration with Systemd"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
edition = "2021" edition.workspace = true
version = "0.9.0" version = "0.9.0"
rust-version.workspace = true rust-version.workspace = true

View File

@ -1,12 +1,12 @@
[package] [package]
name = "radicle-term" name = "radicle-term"
description = "Terminal library used by the Radicle CLI" description = "Terminal library used by the Radicle CLI"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.12.0" version = "0.12.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"] authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[features] [features]

View File

@ -1,9 +1,9 @@
[package] [package]
name = "radicle-tools" name = "radicle-tools"
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.9.0" version = "0.9.0"
authors = ["Alexis Sellier <alexis@radicle.xyz>"] authors = ["Alexis Sellier <alexis@radicle.xyz>"]
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[[bin]] [[bin]]

View File

@ -1,12 +1,12 @@
[package] [package]
name = "radicle" name = "radicle"
description = "Radicle standard library" description = "Radicle standard library"
homepage = "https://radicle.xyz" homepage.workspace = true
repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" repository.workspace = true
license = "MIT OR Apache-2.0" license.workspace = true
version = "0.15.0" version = "0.15.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"] authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021" edition.workspace = true
rust-version.workspace = true rust-version.workspace = true
[features] [features]