Skip to content

Commit 3e242ee

Browse files
Merge pull request #258 from iamjpotts/20240201-ci-followup
Increase MSRV to 1.70 due to colored crate dependency
2 parents 0a3c99b + e1e06f2 commit 3e242ee

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/minimal.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
rust:
1414
- stable
1515
- beta
16-
- 1.65.0 # MSRV
16+
- "1.70.0" # MSRV
1717
include:
1818
- rust: nightly
1919
experimental: true
@@ -41,7 +41,7 @@ jobs:
4141
rust:
4242
- stable
4343
- beta
44-
- 1.65.0 # MSRV
44+
- "1.70.0" # MSRV
4545
include:
4646
- rust: nightly
4747
experimental: true
@@ -75,7 +75,7 @@ jobs:
7575
rust:
7676
- stable
7777
- beta
78-
- 1.65.0 # MSRV
78+
- "1.70.0" # MSRV
7979
include:
8080
- rust: nightly
8181
experimental: true
@@ -104,7 +104,7 @@ jobs:
104104
rust:
105105
- stable
106106
- beta
107-
- 1.65.0 # MSRV
107+
- "1.70.0" # MSRV
108108
include:
109109
- rust: nightly
110110
experimental: true

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[package]
22
name = "dkregistry"
3+
rust-version = "1.70.0"
34
version = "0.5.1-alpha.0"
45
authors = ["Luca Bruno <[email protected]>", "Stefan Junker <[email protected]>"]
56
license = "MIT OR Apache-2.0"

src/v2/auth.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl WwwAuthenticateHeaderContent {
129129
let captures = re.captures_iter(&header).collect::<Vec<_>>();
130130

131131
let method = captures
132-
.get(0)
132+
.first()
133133
.ok_or(WwwHeaderParseError::InvalidValue)?
134134
.name("method")
135135
.ok_or(WwwHeaderParseError::FieldMethodMissing)?

0 commit comments

Comments
 (0)