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"
[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"
# Even though some crates in this workspace may build fine

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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