From 25554049ceca366129fb770b7602235c049377f3 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 8 Jun 2021 21:46:52 +0200 Subject: Run CI build/tests with 1.40.0 This change makes CI run with rust 1.40.0 as minimum supported Rust version for the crate. Signed-off-by: Matthias Beyer --- .github/workflows/msrv.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index b2f67e2..39ee4b7 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -9,6 +9,7 @@ jobs: strategy: matrix: rust: + - 1.40.0 - stable - beta - nightly @@ -35,6 +36,7 @@ jobs: strategy: matrix: rust: + - 1.40.0 - stable - beta - nightly -- cgit v1.2.3 From 786bbbbe5266ba583e5a5ca1961059d8f0a28952 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 8 Jun 2021 21:49:57 +0200 Subject: Update MSRV to 1.44.0 Because of a (transitive) dependency (bitvec 0.19.x) that needs at least 1.44.0, we also depend on that version as the MSRV. Signed-off-by: Matthias Beyer --- .github/workflows/msrv.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 39ee4b7..671eb50 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: rust: - - 1.40.0 + - 1.44.0 - stable - beta - nightly @@ -36,7 +36,7 @@ jobs: strategy: matrix: rust: - - 1.40.0 + - 1.44.0 - stable - beta - nightly -- cgit v1.2.3 From 7c3ec71d45c48314cde3c0e6d9de1e1ff893d796 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 8 Jun 2021 22:17:13 +0200 Subject: Fix: Remove trailing comma Because the old Rust version in the CI fails with this comma in the macro call, we remove it here. Signed-off-by: Matthias Beyer --- tests/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/env.rs b/tests/env.rs index 560ec3b..4d1a966 100644 --- a/tests/env.rs +++ b/tests/env.rs @@ -184,7 +184,7 @@ fn test_parse_bool() { assert!(matches!( config, - TestBoolEnum::Bool(TestBool { bool_val: true }), + TestBoolEnum::Bool(TestBool { bool_val: true }) )); env::remove_var("BOOL_VAL"); -- cgit v1.2.3