diff --git a/.github/workflows/vergen.yml b/.github/workflows/vergen.yml index ce92d38a..b4323cde 100644 --- a/.github/workflows/vergen.yml +++ b/.github/workflows/vergen.yml @@ -60,7 +60,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-unknown-linux-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -76,7 +76,7 @@ jobs: strategy: matrix: os: [macos-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-apple-darwin] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -92,7 +92,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -108,7 +108,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-msvc] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: diff --git a/.github/workflows/vergen_git2.yml b/.github/workflows/vergen_git2.yml index 3b22f3d3..2c22eb13 100644 --- a/.github/workflows/vergen_git2.yml +++ b/.github/workflows/vergen_git2.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-unknown-linux-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -66,7 +66,7 @@ jobs: strategy: matrix: os: [macos-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-apple-darwin] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -82,7 +82,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -98,7 +98,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-msvc] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: diff --git a/.github/workflows/vergen_gitcl.yml b/.github/workflows/vergen_gitcl.yml index 96df06ea..a41121c3 100644 --- a/.github/workflows/vergen_gitcl.yml +++ b/.github/workflows/vergen_gitcl.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-unknown-linux-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -66,7 +66,7 @@ jobs: strategy: matrix: os: [macos-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-apple-darwin] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -82,7 +82,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -98,7 +98,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-msvc] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: diff --git a/.github/workflows/vergen_gix.yml b/.github/workflows/vergen_gix.yml index a2583ae4..d1024221 100644 --- a/.github/workflows/vergen_gix.yml +++ b/.github/workflows/vergen_gix.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-unknown-linux-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -66,7 +66,7 @@ jobs: strategy: matrix: os: [macos-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-apple-darwin] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -82,7 +82,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -98,7 +98,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-msvc] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: diff --git a/.github/workflows/vergen_lib.yml b/.github/workflows/vergen_lib.yml index 0f01d386..a3149498 100644 --- a/.github/workflows/vergen_lib.yml +++ b/.github/workflows/vergen_lib.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-unknown-linux-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -66,7 +66,7 @@ jobs: strategy: matrix: os: [macos-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-apple-darwin] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -82,7 +82,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -98,7 +98,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-msvc] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: diff --git a/.github/workflows/vergen_pretty.yml b/.github/workflows/vergen_pretty.yml index ac99e83c..328d2b3e 100644 --- a/.github/workflows/vergen_pretty.yml +++ b/.github/workflows/vergen_pretty.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-unknown-linux-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -66,7 +66,7 @@ jobs: strategy: matrix: os: [macos-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-apple-darwin] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -82,7 +82,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-gnu] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: @@ -98,7 +98,7 @@ jobs: strategy: matrix: os: [windows-latest] - channel: ["1.78.0", "stable", "beta", "nightly"] + channel: ["1.81.0", "stable", "beta", "nightly"] target: [x86_64-pc-windows-msvc] uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main with: diff --git a/README.md b/README.md index 4e1b9299..6570ec73 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ to rerun instruction emission if the `SOURCE_DATE_EPOCH` environment variable ha [![Crates.io](https://img.shields.io/crates/d/vergen-pretty.svg)](https://crates.io/crates/vergen-pretty) ## MSRV -The current minimum supported rust version is 1.78.0 +The current minimum supported rust version is 1.81.0 ## ⚠️ Notes on version 9 ⚠️ * Version 9 introduces 3 new libraries, `vergen-git2`, `vergen-gitcl`, and `vergen-gix` that will be versioned independently from `vergen`. diff --git a/test_util/Cargo.toml b/test_util/Cargo.toml index 612255d5..8b2155f6 100644 --- a/test_util/Cargo.toml +++ b/test_util/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" homepage = "https://github.com/rustyhorde/vergen" keywords = ["cargo", "instructions", "build", "tool"] license = "MIT OR Apache-2.0" -rust-version = "1.78.0" +rust-version = "1.81.0" name = "test_util" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/test_util/build.rs b/test_util/build.rs index b33f7ed6..c9c6596e 100644 --- a/test_util/build.rs +++ b/test_util/build.rs @@ -1,6 +1,5 @@ pub fn main() { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(coverage_nightly)"); nightly(); beta(); stable(); diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index a32db5f2..db5d7e87 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -272,7 +272,6 @@ the [`TestRepos`] struct to creat temporary git repositories useful for `vergen- )] #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] #![cfg_attr(all(docsrs, nightly), feature(doc_cfg))] -#![cfg_attr(all(nightly, coverage_nightly), feature(coverage_attribute))] #[cfg(all(test, not(feature = "repo")))] use {anyhow as _, serial_test as _}; diff --git a/vergen-git2/Cargo.toml b/vergen-git2/Cargo.toml index 387561bd..f016dbda 100644 --- a/vergen-git2/Cargo.toml +++ b/vergen-git2/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" homepage = "https://github.com/rustyhorde/vergen" keywords = ["cargo", "instructions", "build", "tool"] license = "MIT OR Apache-2.0" -rust-version = "1.78.0" +rust-version = "1.81.0" name = "vergen-git2" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/vergen-git2/build.rs b/vergen-git2/build.rs index b33f7ed6..c9c6596e 100644 --- a/vergen-git2/build.rs +++ b/vergen-git2/build.rs @@ -1,6 +1,5 @@ pub fn main() { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(coverage_nightly)"); nightly(); beta(); stable(); diff --git a/vergen-git2/src/lib.rs b/vergen-git2/src/lib.rs index 59ddc632..e995e7d8 100644 --- a/vergen-git2/src/lib.rs +++ b/vergen-git2/src/lib.rs @@ -441,7 +441,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;" )] #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] #![cfg_attr(all(docsrs, nightly), feature(doc_cfg))] -#![cfg_attr(coverage_nightly, feature(coverage_attribute))] mod git2; diff --git a/vergen-gitcl/Cargo.toml b/vergen-gitcl/Cargo.toml index e8dc8a39..914c1d50 100644 --- a/vergen-gitcl/Cargo.toml +++ b/vergen-gitcl/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" homepage = "https://github.com/rustyhorde/vergen" keywords = ["cargo", "instructions", "build", "tool"] license = "MIT OR Apache-2.0" -rust-version = "1.78.0" +rust-version = "1.81.0" name = "vergen-gitcl" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/vergen-gitcl/build.rs b/vergen-gitcl/build.rs index b33f7ed6..c9c6596e 100644 --- a/vergen-gitcl/build.rs +++ b/vergen-gitcl/build.rs @@ -1,6 +1,5 @@ pub fn main() { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(coverage_nightly)"); nightly(); beta(); stable(); diff --git a/vergen-gitcl/src/lib.rs b/vergen-gitcl/src/lib.rs index 432ceb9f..ca30f5e8 100644 --- a/vergen-gitcl/src/lib.rs +++ b/vergen-gitcl/src/lib.rs @@ -441,7 +441,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;" )] #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] #![cfg_attr(all(docsrs, nightly), feature(doc_cfg))] -#![cfg_attr(coverage_nightly, feature(coverage_attribute))] #[cfg(test)] use {lazy_static as _, regex as _, temp_env as _}; diff --git a/vergen-gix/Cargo.toml b/vergen-gix/Cargo.toml index 7d9de3f6..dd28d790 100644 --- a/vergen-gix/Cargo.toml +++ b/vergen-gix/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" homepage = "https://github.com/rustyhorde/vergen" keywords = ["cargo", "instructions", "build", "tool"] license = "MIT OR Apache-2.0" -rust-version = "1.78.0" +rust-version = "1.81.0" name = "vergen-gix" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/vergen-gix/build.rs b/vergen-gix/build.rs index b33f7ed6..c9c6596e 100644 --- a/vergen-gix/build.rs +++ b/vergen-gix/build.rs @@ -1,6 +1,5 @@ pub fn main() { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(coverage_nightly)"); nightly(); beta(); stable(); diff --git a/vergen-gix/src/lib.rs b/vergen-gix/src/lib.rs index 15973d74..3615f951 100644 --- a/vergen-gix/src/lib.rs +++ b/vergen-gix/src/lib.rs @@ -441,7 +441,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;" )] #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] #![cfg_attr(all(docsrs, nightly), feature(doc_cfg))] -#![cfg_attr(coverage_nightly, feature(coverage_attribute))] #[cfg(test)] use {lazy_static as _, regex as _}; diff --git a/vergen-lib/Cargo.toml b/vergen-lib/Cargo.toml index 4f7576af..a10832b7 100644 --- a/vergen-lib/Cargo.toml +++ b/vergen-lib/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" homepage = "https://github.com/rustyhorde/vergen" keywords = ["cargo", "instructions", "build", "tool"] license = "MIT OR Apache-2.0" -rust-version = "1.78.0" +rust-version = "1.81.0" name = "vergen-lib" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/vergen-lib/build.rs b/vergen-lib/build.rs index b33f7ed6..c9c6596e 100644 --- a/vergen-lib/build.rs +++ b/vergen-lib/build.rs @@ -1,6 +1,5 @@ pub fn main() { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(coverage_nightly)"); nightly(); beta(); stable(); diff --git a/vergen-lib/src/lib.rs b/vergen-lib/src/lib.rs index 5586b1a8..0fe08412 100644 --- a/vergen-lib/src/lib.rs +++ b/vergen-lib/src/lib.rs @@ -212,7 +212,6 @@ )] #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] #![cfg_attr(all(docsrs, nightly), feature(doc_cfg))] -#![cfg_attr(coverage_nightly, feature(coverage_attribute))] #[cfg(test)] use {temp_env as _, test_util as _}; diff --git a/vergen-pretty/Cargo.toml b/vergen-pretty/Cargo.toml index b3dab301..708ac8dd 100644 --- a/vergen-pretty/Cargo.toml +++ b/vergen-pretty/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" homepage = "https://github.com/rustyhorde/vergen" keywords = ["cargo", "instructions", "build", "tool"] license = "MIT OR Apache-2.0" -rust-version = "1.78.0" +rust-version = "1.81.0" name = "vergen-pretty" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/vergen-pretty/build.rs b/vergen-pretty/build.rs index 55a41676..c4aca42a 100644 --- a/vergen-pretty/build.rs +++ b/vergen-pretty/build.rs @@ -13,7 +13,6 @@ use { fn main() -> Result<()> { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(coverage_nightly)"); nightly(); beta(); stable(); diff --git a/vergen-pretty/src/lib.rs b/vergen-pretty/src/lib.rs index 27d6cf81..6a214aa3 100644 --- a/vergen-pretty/src/lib.rs +++ b/vergen-pretty/src/lib.rs @@ -302,7 +302,6 @@ assert!(!buf.is_empty()); )] #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] #![cfg_attr(all(docsrs, nightly), feature(doc_cfg))] -#![cfg_attr(coverage_nightly, feature(coverage_attribute))] #[cfg(feature = "header")] mod header; diff --git a/vergen/Cargo.toml b/vergen/Cargo.toml index d8350d72..371abbef 100644 --- a/vergen/Cargo.toml +++ b/vergen/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" homepage = "https://github.com/rustyhorde/vergen" keywords = ["cargo", "instructions", "build", "tool"] license = "MIT OR Apache-2.0" -rust-version = "1.78.0" +rust-version = "1.81.0" name = "vergen" readme = "README.md" repository = "https://github.com/rustyhorde/vergen" diff --git a/vergen/build.rs b/vergen/build.rs index b33f7ed6..c9c6596e 100644 --- a/vergen/build.rs +++ b/vergen/build.rs @@ -1,6 +1,5 @@ pub fn main() { println!("cargo:rerun-if-changed=build.rs"); - println!("cargo:rustc-check-cfg=cfg(coverage_nightly)"); nightly(); beta(); stable(); diff --git a/vergen/src/lib.rs b/vergen/src/lib.rs index edb1cc4b..31e00983 100644 --- a/vergen/src/lib.rs +++ b/vergen/src/lib.rs @@ -487,7 +487,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;" )] #![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))] #![cfg_attr(all(docsrs, nightly), feature(doc_cfg))] -#![cfg_attr(coverage_nightly, feature(coverage_attribute))] mod feature;