Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cargo: Use `workspace.package` table
Merged lorenz opened 10 months ago

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

See: https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table

17 files changed +58 -54 eea6a9bc 6259a703
modified Cargo.toml
@@ -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
modified radicle-cli-test/Cargo.toml
@@ -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"
modified radicle-cli/Cargo.toml
@@ -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

modified radicle-cob/Cargo.toml
@@ -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

modified radicle-crdt/Cargo.toml
@@ -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]
modified radicle-crypto/Cargo.toml
@@ -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]
modified radicle-dag/Cargo.toml
@@ -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]
modified radicle-fetch/Cargo.toml
@@ -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]
modified radicle-node/Cargo.toml
@@ -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

modified radicle-remote-helper/Cargo.toml
@@ -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

modified radicle-schemars/Cargo.toml
@@ -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

modified radicle-signals/Cargo.toml
@@ -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

modified radicle-ssh/Cargo.toml
@@ -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]
modified radicle-systemd/Cargo.toml
@@ -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
modified radicle-term/Cargo.toml
@@ -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]
modified radicle-tools/Cargo.toml
@@ -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]]
modified radicle/Cargo.toml
@@ -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]