Skip to content

Commit

Permalink
Merge pull request #258 from iamjpotts/20240201-ci-followup
Browse files Browse the repository at this point in the history
Increase MSRV to 1.70 due to colored crate dependency
  • Loading branch information
PratikMahajan committed Feb 6, 2024
2 parents 0a3c99b + e1e06f2 commit 3e242ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
rust:
- stable
- beta
- 1.65.0 # MSRV
- "1.70.0" # MSRV
include:
- rust: nightly
experimental: true
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
rust:
- stable
- beta
- 1.65.0 # MSRV
- "1.70.0" # MSRV
include:
- rust: nightly
experimental: true
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
rust:
- stable
- beta
- 1.65.0 # MSRV
- "1.70.0" # MSRV
include:
- rust: nightly
experimental: true
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
rust:
- stable
- beta
- 1.65.0 # MSRV
- "1.70.0" # MSRV
include:
- rust: nightly
experimental: true
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "dkregistry"
rust-version = "1.70.0"
version = "0.5.1-alpha.0"
authors = ["Luca Bruno <lucab@debian.org>", "Stefan Junker <sjunker@redhat.com>"]
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/v2/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl WwwAuthenticateHeaderContent {
let captures = re.captures_iter(&header).collect::<Vec<_>>();

let method = captures
.get(0)
.first()
.ok_or(WwwHeaderParseError::InvalidValue)?
.name("method")
.ok_or(WwwHeaderParseError::FieldMethodMissing)?
Expand Down

0 comments on commit 3e242ee

Please sign in to comment.