mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-10-26 14:50:37 +08:00
cargo: apply MSRV 1.78.0
Find and apply the MSRV, `rust-version = "1.78.0"` to the `radicle-git` crates. While applying this change, use the workspace values to clean up repetition.
This commit is contained in:
+15
@@ -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"
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user