diff --git a/Cargo.toml b/Cargo.toml index b229906..23963b4 100644 --- a/Cargo.toml +++ b/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 diff --git a/flake.nix b/flake.nix index f11d8a2..55bc268 100644 --- a/flake.nix +++ b/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 diff --git a/radicle-git-ext/Cargo.toml b/radicle-git-ext/Cargo.toml index 0858ae2..4ae3982 100644 --- a/radicle-git-ext/Cargo.toml +++ b/radicle-git-ext/Cargo.toml @@ -7,12 +7,13 @@ authors = [ "Fintan Halpenny ", ] -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 diff --git a/radicle-git-ext/git-ref-format/Cargo.toml b/radicle-git-ext/git-ref-format/Cargo.toml index fd18b5c..2be5c27 100644 --- a/radicle-git-ext/git-ref-format/Cargo.toml +++ b/radicle-git-ext/git-ref-format/Cargo.toml @@ -5,12 +5,13 @@ authors = [ "Kim Altintop ", "Fintan Halpenny ", ] -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 diff --git a/radicle-git-ext/git-ref-format/core/Cargo.toml b/radicle-git-ext/git-ref-format/core/Cargo.toml index e9a7cc4..b292bbf 100644 --- a/radicle-git-ext/git-ref-format/core/Cargo.toml +++ b/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 "] -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 diff --git a/radicle-git-ext/git-ref-format/macro/Cargo.toml b/radicle-git-ext/git-ref-format/macro/Cargo.toml index fb86641..8a7ec20 100644 --- a/radicle-git-ext/git-ref-format/macro/Cargo.toml +++ b/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 "] -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 diff --git a/radicle-git-ext/git-ref-format/t/Cargo.toml b/radicle-git-ext/git-ref-format/t/Cargo.toml index e802059..b3dc0ed 100644 --- a/radicle-git-ext/git-ref-format/t/Cargo.toml +++ b/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 diff --git a/radicle-git-ext/t/Cargo.toml b/radicle-git-ext/t/Cargo.toml index 08c6677..31f3005 100644 --- a/radicle-git-ext/t/Cargo.toml +++ b/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 diff --git a/radicle-std-ext/Cargo.toml b/radicle-std-ext/Cargo.toml index f01ebd5..da53830 100644 --- a/radicle-std-ext/Cargo.toml +++ b/radicle-std-ext/Cargo.toml @@ -2,12 +2,14 @@ name = "radicle-std-ext" version = "0.1.1" authors = ["The Radicle Team "] -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 diff --git a/radicle-surf/Cargo.toml b/radicle-surf/Cargo.toml index e94d061..229e292 100644 --- a/radicle-surf/Cargo.toml +++ b/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 "] -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", diff --git a/radicle-surf/t/Cargo.toml b/radicle-surf/t/Cargo.toml index b38a2df..d21193c 100644 --- a/radicle-surf/t/Cargo.toml +++ b/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 diff --git a/test/Cargo.toml b/test/Cargo.toml index 3bdff27..a79f30e 100644 --- a/test/Cargo.toml +++ b/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 diff --git a/test/test-helpers/Cargo.toml b/test/test-helpers/Cargo.toml index 327f386..1d0e9ea 100644 --- a/test/test-helpers/Cargo.toml +++ b/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"