Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
workspace: set rust-version (MSRV)
Lars Wirzenius committed 11 months ago
commit 105b65c2ac2ddbdc75013806955c97f3dff5f493
parent 9f2c4e39419027a4113e4e368ceb81176897b49f
16 files changed +31 -5
modified Cargo.toml
@@ -1,5 +1,4 @@
[workspace]
-
package.version = "0.9.0"
members = [
  "radicle",
  "radicle-cob",
@@ -31,11 +30,23 @@ default-members = [
]
resolver = "2"

-
[profile.container]
-
inherits = "release"
-
debug = true
-
incremental = false
+
[workspace.package]
+
version = "0.9.0"
+

+
# Even though some crates in this workspace may build fine
+
# on a lower version, we set it here and inherit in all
+
# crates. This is to simplify maintenance. As of 2025-05-13
+
# we do not have the capacity to think about `rust-version`
+
# *per crate*. If anyone ever wants to set it to a different
+
# value per crate, this is of course possible. We're waiting
+
# for the day it makes a difference…
+
rust-version = "1.81.0"

[workspace.lints]
clippy.type_complexity = "allow"
clippy.enum_variant_names = "allow"
+

+
[profile.container]
+
inherits = "release"
+
debug = true
+
incremental = false
modified radicle-cli-test/Cargo.toml
@@ -9,6 +9,7 @@ edition = "2021"
categories = ["development-tools::testing"]
keywords = ["cli", "test", "command"]
readme = "README.md"
+
rust-version.workspace = true

[dependencies]
escargot = { version = "0.5.7" }
modified radicle-cli/Cargo.toml
@@ -7,6 +7,7 @@ version = "0.12.1"
authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021"
build = "build.rs"
+
rust-version.workspace = true

[[bin]]
name = "rad"
modified radicle-cob/Cargo.toml
@@ -11,6 +11,7 @@ authors = [
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["radicle", "cob", "cobs"]
+
rust-version.workspace = true

[features]
default = []
modified radicle-crdt/Cargo.toml
@@ -3,6 +3,7 @@ name = "radicle-crdt"
version = "0.1.0"
license = "MIT OR Apache-2.0"
edition = "2021"
+
rust-version.workspace = true

[features]
test = ["fastrand", "qcheck"]
modified radicle-crypto/Cargo.toml
@@ -10,6 +10,7 @@ authors = [
  "Fintan Halpenny <fintan.halpenny@gmail.com>",
]
edition = "2021"
+
rust-version.workspace = true

[features]
test = ["fastrand", "qcheck"]
modified radicle-dag/Cargo.toml
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"]
version = "0.10.0"
edition = "2021"
+
rust-version.workspace = true

[dependencies]
fastrand = { version = "2.0.0" }
modified radicle-fetch/Cargo.toml
@@ -6,6 +6,7 @@ license = "MIT OR Apache-2.0"
version = "0.10.0"
authors = ["Fintan Halpenny <fintan.halpenny@gmail.com>"]
edition = "2021"
+
rust-version.workspace = true

[dependencies]
bstr = { version = "1.3" }
modified radicle-node/Cargo.toml
@@ -7,6 +7,7 @@ version = "0.10.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021"
build = "build.rs"
+
rust-version.workspace = true

[features]
default = ["systemd"]
modified radicle-remote-helper/Cargo.toml
@@ -7,6 +7,7 @@ version = "0.10.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021"
build = "build.rs"
+
rust-version.workspace = true

[dependencies]
thiserror = { version = "1" }
modified radicle-signals/Cargo.toml
@@ -6,6 +6,7 @@ repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaH
license = "MIT OR Apache-2.0"
edition = "2021"
version = "0.11.0"
+
rust-version.workspace = true

[dependencies]
crossbeam-channel = { version = "0.5.6" }
modified radicle-ssh/Cargo.toml
@@ -11,6 +11,7 @@ authors = [
  "cloudhead <cloudhead@radicle.xyz>"
]
edition = "2021"
+
rust-version.workspace = true

[dependencies]
byteorder = "1.4"
modified radicle-systemd/Cargo.toml
@@ -6,3 +6,4 @@ repository = "https://app.radicle.xyz/seeds/seed.radicle.xyz/rad:z3gqcJUoA1n9HaH
license = "MIT OR Apache-2.0"
edition = "2021"
version = "0.9.0"
+
rust-version.workspace = true
modified radicle-term/Cargo.toml
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
version = "0.12.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021"
+
rust-version.workspace = true

[features]
default = ["git2"]
modified radicle-tools/Cargo.toml
@@ -4,6 +4,7 @@ license = "MIT OR Apache-2.0"
version = "0.9.0"
authors = ["Alexis Sellier <alexis@radicle.xyz>"]
edition = "2021"
+
rust-version.workspace = true

[dependencies]
anyhow = { version = "1" }
modified radicle/Cargo.toml
@@ -7,6 +7,7 @@ license = "MIT OR Apache-2.0"
version = "0.14.0"
authors = ["cloudhead <cloudhead@radicle.xyz>"]
edition = "2021"
+
rust-version.workspace = true

[features]
default = []