Radish alpha
r
rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt
Git libraries for Radicle
Radicle
Git
cargo: apply MSRV 1.78.0
Fintan Halpenny committed 4 months ago
commit abcb05a2bd5fd053aa3ce9f1c45bbf9919bd0594
parent b570fa1
13 files changed +57 -34
modified Cargo.toml
@@ -6,3 +6,18 @@ members = [
  "test",
]
resolver = "2"
+

+
[workspace.package]
+
edition = "2021"
+
license = "MIT OR Apache-2.0"
+
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/README.md"
+
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
+
# The MSRV of this crate was found using `cargo-msrv`
+
# 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-12-08
+
# 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.78.0"

\ No newline at end of file
modified flake.nix
@@ -193,6 +193,7 @@
        # Extra inputs can be added here; cargo and rustc are provided by default.
        packages = [
          pkgs.cargo-deny
+
          pkgs.cargo-msrv
          pkgs.cargo-nextest
          pkgs.cargo-semver-checks
          pkgs.cargo-watch
modified radicle-git-ext/Cargo.toml
@@ -7,12 +7,13 @@ authors = [
  "Fintan Halpenny <fintan.halpenny@gmail.com",
  "Han Xu <keepsimple@gmail.com>",
]
-
edition = "2021"
-
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/README.md"
-
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
-
license = "MIT OR Apache-2.0"
description = "Utilities and extensions to the git2 crate"
keywords = ["git", "radicle"]
+
homepage.workspace = true
+
repository.workspace = true
+
edition.workspace = true
+
license.workspace = true
+
rust-version.workspace = true

[lib]
doctest = false
modified radicle-git-ext/git-ref-format/Cargo.toml
@@ -5,12 +5,13 @@ authors = [
  "Kim Altintop <kim@eagain.st>",
  "Fintan Halpenny <fintan.halpenny@gmail.com>",
]
-
edition = "2021"
-
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/README.md"
-
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
-
license = "MIT OR Apache-2.0"
description = "Everything you never knew you wanted for handling git ref names."
keywords = ["git", "references"]
+
homepage.workspace = true
+
repository.workspace = true
+
edition.workspace = true
+
license.workspace = true
+
rust-version.workspace = true

[lib]
doctest = false
modified radicle-git-ext/git-ref-format/core/Cargo.toml
@@ -2,12 +2,13 @@
name = "git-ref-format-core"
version = "0.5.0"
authors = ["Kim Altintop <kim@eagain.st>"]
-
edition = "2021"
-
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/README.md"
-
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
-
license = "MIT OR Apache-2.0"
description = "Core types for the git-ref-format crate"
keywords = ["git", "references"]
+
homepage.workspace = true
+
repository.workspace = true
+
edition.workspace = true
+
license.workspace = true
+
rust-version.workspace = true

[lib]
doctest = false
modified radicle-git-ext/git-ref-format/macro/Cargo.toml
@@ -2,12 +2,13 @@
name = "git-ref-format-macro"
version = "0.5.0"
authors = ["Kim Altintop <kim@eagain.st>"]
-
edition = "2021"
-
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/README.md"
-
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
-
license = "MIT OR Apache-2.0"
description = "Macros for the git-ref-format crate"
keywords = ["git", "references"]
+
homepage.workspace = true
+
repository.workspace = true
+
edition.workspace = true
+
license.workspace = true
+
rust-version.workspace = true

[lib]
doctest = false
modified radicle-git-ext/git-ref-format/t/Cargo.toml
@@ -1,8 +1,8 @@
[package]
name = "git-ref-format-test"
version = "0.1.0"
-
edition = "2021"
-
license = "MIT OR Apache-2.0"
+
workspace.edition = true
+
workspace.license = true

publish = false

modified radicle-git-ext/t/Cargo.toml
@@ -1,8 +1,8 @@
[package]
name = "radicle-git-ext-test"
version = "0.1.0"
-
edition = "2021"
-
license = "MIT OR Apache-2.0"
+
edition.workspace = true
+
license.workspace = true

publish = false

modified radicle-std-ext/Cargo.toml
@@ -2,12 +2,14 @@
name = "radicle-std-ext"
version = "0.1.1"
authors = ["The Radicle Team <dev@radicle.xyz>"]
-
edition = "2021"
-
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/README.md"
-
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
-
license = "MIT OR Apache-2.0"
description = "Monkey patches of std types"
keywords = ["std", "radicle"]
+
homepage.workspace = true
+
repository.workspace = true
+
edition.workspace = true
+
license.workspace = true
+
rust-version.workspace = true
+


[lib]
doctest = false
modified radicle-surf/Cargo.toml
@@ -4,10 +4,11 @@ description = "A code surfing library for Git repositories"
readme = "README.md"
version = "0.25.0"
authors = ["The Radicle Team <dev@radicle.xyz>"]
-
edition = "2021"
-
homepage = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt/tree/radicle-surf/README.md"
-
repository = "https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt"
-
license = "MIT OR Apache-2.0"
+
homepage.workspace = true
+
repository.workspace = true
+
edition.workspace = true
+
license.workspace = true
+
rust-version.workspace = true

include = [
    "**/*.rs",
modified radicle-surf/t/Cargo.toml
@@ -1,8 +1,8 @@
[package]
name = "radicle-surf-test"
version = "0.1.0"
-
edition = "2021"
-
license = "MIT OR Apache-2.0"
+
edition.workspace = true
+
license.workspace = true

publish = false

modified test/Cargo.toml
@@ -1,8 +1,8 @@
[package]
name = "tests"
version = "0.1.0"
-
edition = "2021"
-
license = "MIT OR Apache-2.0"
+
edition.workspace = true
+
license.workspace = true

publish = false

modified test/test-helpers/Cargo.toml
@@ -1,8 +1,8 @@
[package]
name = "test-helpers"
version = "0.1.0"
-
edition = "2021"
-
license = "MIT OR Apache-2.0"
+
edition.workspace = true
+
license.workspace = true
publish = false

description = "Test helpers"