Skip to content

Commit 5ab846c

Browse files
authored
removed coverage_attribute as it is now supported (#391)
* removed coverage_attribute as it is now supported * Bumped MSRV to 1.81.0
1 parent 53b8e63 commit 5ab846c

28 files changed

+32
-46
lines changed

.github/workflows/vergen.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
strategy:
6161
matrix:
6262
os: [ubuntu-latest]
63-
channel: ["1.78.0", "stable", "beta", "nightly"]
63+
channel: ["1.81.0", "stable", "beta", "nightly"]
6464
target: [x86_64-unknown-linux-gnu]
6565
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
6666
with:
@@ -76,7 +76,7 @@ jobs:
7676
strategy:
7777
matrix:
7878
os: [macos-latest]
79-
channel: ["1.78.0", "stable", "beta", "nightly"]
79+
channel: ["1.81.0", "stable", "beta", "nightly"]
8080
target: [x86_64-apple-darwin]
8181
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
8282
with:
@@ -92,7 +92,7 @@ jobs:
9292
strategy:
9393
matrix:
9494
os: [windows-latest]
95-
channel: ["1.78.0", "stable", "beta", "nightly"]
95+
channel: ["1.81.0", "stable", "beta", "nightly"]
9696
target: [x86_64-pc-windows-gnu]
9797
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
9898
with:
@@ -108,7 +108,7 @@ jobs:
108108
strategy:
109109
matrix:
110110
os: [windows-latest]
111-
channel: ["1.78.0", "stable", "beta", "nightly"]
111+
channel: ["1.81.0", "stable", "beta", "nightly"]
112112
target: [x86_64-pc-windows-msvc]
113113
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
114114
with:

.github/workflows/vergen_git2.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
os: [ubuntu-latest]
53-
channel: ["1.78.0", "stable", "beta", "nightly"]
53+
channel: ["1.81.0", "stable", "beta", "nightly"]
5454
target: [x86_64-unknown-linux-gnu]
5555
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
5656
with:
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
matrix:
6868
os: [macos-latest]
69-
channel: ["1.78.0", "stable", "beta", "nightly"]
69+
channel: ["1.81.0", "stable", "beta", "nightly"]
7070
target: [x86_64-apple-darwin]
7171
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
7272
with:
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
matrix:
8484
os: [windows-latest]
85-
channel: ["1.78.0", "stable", "beta", "nightly"]
85+
channel: ["1.81.0", "stable", "beta", "nightly"]
8686
target: [x86_64-pc-windows-gnu]
8787
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
8888
with:
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
matrix:
100100
os: [windows-latest]
101-
channel: ["1.78.0", "stable", "beta", "nightly"]
101+
channel: ["1.81.0", "stable", "beta", "nightly"]
102102
target: [x86_64-pc-windows-msvc]
103103
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
104104
with:

.github/workflows/vergen_gitcl.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
os: [ubuntu-latest]
53-
channel: ["1.78.0", "stable", "beta", "nightly"]
53+
channel: ["1.81.0", "stable", "beta", "nightly"]
5454
target: [x86_64-unknown-linux-gnu]
5555
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
5656
with:
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
matrix:
6868
os: [macos-latest]
69-
channel: ["1.78.0", "stable", "beta", "nightly"]
69+
channel: ["1.81.0", "stable", "beta", "nightly"]
7070
target: [x86_64-apple-darwin]
7171
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
7272
with:
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
matrix:
8484
os: [windows-latest]
85-
channel: ["1.78.0", "stable", "beta", "nightly"]
85+
channel: ["1.81.0", "stable", "beta", "nightly"]
8686
target: [x86_64-pc-windows-gnu]
8787
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
8888
with:
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
matrix:
100100
os: [windows-latest]
101-
channel: ["1.78.0", "stable", "beta", "nightly"]
101+
channel: ["1.81.0", "stable", "beta", "nightly"]
102102
target: [x86_64-pc-windows-msvc]
103103
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
104104
with:

.github/workflows/vergen_gix.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
os: [ubuntu-latest]
53-
channel: ["1.78.0", "stable", "beta", "nightly"]
53+
channel: ["1.81.0", "stable", "beta", "nightly"]
5454
target: [x86_64-unknown-linux-gnu]
5555
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
5656
with:
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
matrix:
6868
os: [macos-latest]
69-
channel: ["1.78.0", "stable", "beta", "nightly"]
69+
channel: ["1.81.0", "stable", "beta", "nightly"]
7070
target: [x86_64-apple-darwin]
7171
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
7272
with:
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
matrix:
8484
os: [windows-latest]
85-
channel: ["1.78.0", "stable", "beta", "nightly"]
85+
channel: ["1.81.0", "stable", "beta", "nightly"]
8686
target: [x86_64-pc-windows-gnu]
8787
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
8888
with:
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
matrix:
100100
os: [windows-latest]
101-
channel: ["1.78.0", "stable", "beta", "nightly"]
101+
channel: ["1.81.0", "stable", "beta", "nightly"]
102102
target: [x86_64-pc-windows-msvc]
103103
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
104104
with:

.github/workflows/vergen_lib.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
os: [ubuntu-latest]
53-
channel: ["1.78.0", "stable", "beta", "nightly"]
53+
channel: ["1.81.0", "stable", "beta", "nightly"]
5454
target: [x86_64-unknown-linux-gnu]
5555
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
5656
with:
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
matrix:
6868
os: [macos-latest]
69-
channel: ["1.78.0", "stable", "beta", "nightly"]
69+
channel: ["1.81.0", "stable", "beta", "nightly"]
7070
target: [x86_64-apple-darwin]
7171
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
7272
with:
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
matrix:
8484
os: [windows-latest]
85-
channel: ["1.78.0", "stable", "beta", "nightly"]
85+
channel: ["1.81.0", "stable", "beta", "nightly"]
8686
target: [x86_64-pc-windows-gnu]
8787
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
8888
with:
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
matrix:
100100
os: [windows-latest]
101-
channel: ["1.78.0", "stable", "beta", "nightly"]
101+
channel: ["1.81.0", "stable", "beta", "nightly"]
102102
target: [x86_64-pc-windows-msvc]
103103
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
104104
with:

.github/workflows/vergen_pretty.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
matrix:
5252
os: [ubuntu-latest]
53-
channel: ["1.78.0", "stable", "beta", "nightly"]
53+
channel: ["1.81.0", "stable", "beta", "nightly"]
5454
target: [x86_64-unknown-linux-gnu]
5555
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
5656
with:
@@ -66,7 +66,7 @@ jobs:
6666
strategy:
6767
matrix:
6868
os: [macos-latest]
69-
channel: ["1.78.0", "stable", "beta", "nightly"]
69+
channel: ["1.81.0", "stable", "beta", "nightly"]
7070
target: [x86_64-apple-darwin]
7171
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
7272
with:
@@ -82,7 +82,7 @@ jobs:
8282
strategy:
8383
matrix:
8484
os: [windows-latest]
85-
channel: ["1.78.0", "stable", "beta", "nightly"]
85+
channel: ["1.81.0", "stable", "beta", "nightly"]
8686
target: [x86_64-pc-windows-gnu]
8787
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
8888
with:
@@ -98,7 +98,7 @@ jobs:
9898
strategy:
9999
matrix:
100100
os: [windows-latest]
101-
channel: ["1.78.0", "stable", "beta", "nightly"]
101+
channel: ["1.81.0", "stable", "beta", "nightly"]
102102
target: [x86_64-pc-windows-msvc]
103103
uses: rustyhorde/workflows/.github/workflows/test-all-features.yml@main
104104
with:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ to rerun instruction emission if the `SOURCE_DATE_EPOCH` environment variable ha
5656
[![Crates.io](https://img.shields.io/crates/d/vergen-pretty.svg)](https://crates.io/crates/vergen-pretty)
5757

5858
## MSRV
59-
The current minimum supported rust version is 1.78.0
59+
The current minimum supported rust version is 1.81.0
6060

6161
## ⚠️ Notes on version 9 ⚠️
6262
* Version 9 introduces 3 new libraries, `vergen-git2`, `vergen-gitcl`, and `vergen-gix` that will be versioned independently from `vergen`.

test_util/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
homepage = "https://github.com/rustyhorde/vergen"
88
keywords = ["cargo", "instructions", "build", "tool"]
99
license = "MIT OR Apache-2.0"
10-
rust-version = "1.78.0"
10+
rust-version = "1.81.0"
1111
name = "test_util"
1212
readme = "README.md"
1313
repository = "https://github.com/rustyhorde/vergen"

test_util/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
pub fn main() {
22
println!("cargo:rerun-if-changed=build.rs");
3-
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
43
nightly();
54
beta();
65
stable();

test_util/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ the [`TestRepos`] struct to creat temporary git repositories useful for `vergen-
272272
)]
273273
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
274274
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
275-
#![cfg_attr(all(nightly, coverage_nightly), feature(coverage_attribute))]
276275

277276
#[cfg(all(test, not(feature = "repo")))]
278277
use {anyhow as _, serial_test as _};

vergen-git2/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
homepage = "https://github.com/rustyhorde/vergen"
88
keywords = ["cargo", "instructions", "build", "tool"]
99
license = "MIT OR Apache-2.0"
10-
rust-version = "1.78.0"
10+
rust-version = "1.81.0"
1111
name = "vergen-git2"
1212
readme = "README.md"
1313
repository = "https://github.com/rustyhorde/vergen"

vergen-git2/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
pub fn main() {
22
println!("cargo:rerun-if-changed=build.rs");
3-
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
43
nightly();
54
beta();
65
stable();

vergen-git2/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"
441441
)]
442442
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
443443
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
444-
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
445444

446445
mod git2;
447446

vergen-gitcl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
homepage = "https://github.com/rustyhorde/vergen"
88
keywords = ["cargo", "instructions", "build", "tool"]
99
license = "MIT OR Apache-2.0"
10-
rust-version = "1.78.0"
10+
rust-version = "1.81.0"
1111
name = "vergen-gitcl"
1212
readme = "README.md"
1313
repository = "https://github.com/rustyhorde/vergen"

vergen-gitcl/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
pub fn main() {
22
println!("cargo:rerun-if-changed=build.rs");
3-
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
43
nightly();
54
beta();
65
stable();

vergen-gitcl/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"
441441
)]
442442
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
443443
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
444-
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
445444

446445
#[cfg(test)]
447446
use {lazy_static as _, regex as _, temp_env as _};

vergen-gix/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
homepage = "https://github.com/rustyhorde/vergen"
88
keywords = ["cargo", "instructions", "build", "tool"]
99
license = "MIT OR Apache-2.0"
10-
rust-version = "1.78.0"
10+
rust-version = "1.81.0"
1111
name = "vergen-gix"
1212
readme = "README.md"
1313
repository = "https://github.com/rustyhorde/vergen"

vergen-gix/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
pub fn main() {
22
println!("cargo:rerun-if-changed=build.rs");
3-
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
43
nightly();
54
beta();
65
stable();

vergen-gix/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"
441441
)]
442442
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
443443
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
444-
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
445444

446445
#[cfg(test)]
447446
use {lazy_static as _, regex as _};

vergen-lib/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
homepage = "https://github.com/rustyhorde/vergen"
88
keywords = ["cargo", "instructions", "build", "tool"]
99
license = "MIT OR Apache-2.0"
10-
rust-version = "1.78.0"
10+
rust-version = "1.81.0"
1111
name = "vergen-lib"
1212
readme = "README.md"
1313
repository = "https://github.com/rustyhorde/vergen"

vergen-lib/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
pub fn main() {
22
println!("cargo:rerun-if-changed=build.rs");
3-
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
43
nightly();
54
beta();
65
stable();

vergen-lib/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@
212212
)]
213213
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
214214
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
215-
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
216215

217216
#[cfg(test)]
218217
use {temp_env as _, test_util as _};

vergen-pretty/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
homepage = "https://github.com/rustyhorde/vergen"
88
keywords = ["cargo", "instructions", "build", "tool"]
99
license = "MIT OR Apache-2.0"
10-
rust-version = "1.78.0"
10+
rust-version = "1.81.0"
1111
name = "vergen-pretty"
1212
readme = "README.md"
1313
repository = "https://github.com/rustyhorde/vergen"

vergen-pretty/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use {
1313

1414
fn main() -> Result<()> {
1515
println!("cargo:rerun-if-changed=build.rs");
16-
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
1716
nightly();
1817
beta();
1918
stable();

vergen-pretty/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ assert!(!buf.is_empty());
302302
)]
303303
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
304304
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
305-
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
306305

307306
#[cfg(feature = "header")]
308307
mod header;

vergen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77
homepage = "https://github.com/rustyhorde/vergen"
88
keywords = ["cargo", "instructions", "build", "tool"]
99
license = "MIT OR Apache-2.0"
10-
rust-version = "1.78.0"
10+
rust-version = "1.81.0"
1111
name = "vergen"
1212
readme = "README.md"
1313
repository = "https://github.com/rustyhorde/vergen"

vergen/build.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
pub fn main() {
22
println!("cargo:rerun-if-changed=build.rs");
3-
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
43
nightly();
54
beta();
65
stable();

vergen/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"
487487
)]
488488
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
489489
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
490-
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
491490

492491
mod feature;
493492

0 commit comments

Comments
 (0)