Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase MSRV to 1.70 due to colored crate dependency #258

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading