Skip to content

Commit

Permalink
Update validator requirement from 0.16 to 0.17 (#64)
Browse files Browse the repository at this point in the history
* Update validator requirement from 0.16 to 0.17

---
updated-dependencies:
- dependency-name: validator
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* CI: validator has a broken requirement on darling

* Bump MSRV to 1.70 for validator

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dominic <git@msrd0.de>
  • Loading branch information
dependabot[bot] and msrd0 committed Mar 11, 2024
1 parent fea25eb commit ddb58d6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ jobs:

- uses: dtolnay/rust-toolchain@nightly
- run: cargo -Z minimal-versions update
- run: cargo update -p lazy_static
- name: Fix -Z minimal-versions
run: |
cargo update -p darling
cargo update -p lazy_static
- uses: dtolnay/rust-toolchain@1.63.0
- uses: dtolnay/rust-toolchain@1.70.0
id: rust-toolchain

- uses: actions/cache@v4
Expand All @@ -36,9 +39,12 @@ jobs:

- uses: dtolnay/rust-toolchain@nightly
- run: cargo -Z minimal-versions update
- run: cargo update -p lazy_static
- name: Fix -Z minimal-versions
run: |
cargo update -p darling
cargo update -p lazy_static
- uses: dtolnay/rust-toolchain@1.63.0
- uses: dtolnay/rust-toolchain@1.70.0
id: rust-toolchain

- uses: actions/cache@v4
Expand All @@ -60,7 +66,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
id: rust-toolchain
with:
toolchain: "1.72"
toolchain: "1.76"

- uses: actions/cache@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "gotham_formdata"
version = "0.0.7"
authors = ["Dominic Meiser <git@msrd0.de>"]
edition = "2021"
rust-version = "1.63.0"
rust-version = "1.70.0"
description = "Form data parsing for the gotham web framework"
keywords = ["gotham", "html", "form", "urlencoded", "multipart"]
categories = ["web-programming", "web-programming::http-server"]
Expand All @@ -29,12 +29,12 @@ multer = "2.0"
paste = "1.0"
serde = "1.0"
thiserror = "1.0"
validator = "0.16"
validator = "0.17"

[dev-dependencies]
futures-executor = "0.3.15"
gotham = { version = "0.7", features = ["testing"], default-features = false }
percent-encoding = "2.1"
pretty_env_logger = "0.5"
trybuild = "=1.0.89"
validator = { version = "0.16", features = ["derive"] }
validator = { version = "0.17", features = ["derive"] }
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<a href="https://msrd0.github.io/gotham_formdata/doc/gotham_formdata/index.html">
<img alt="docs for main" src="https://img.shields.io/badge/docs-main-blue.svg"/>
</a>
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html">
<img alt="Rust 1.63+" src="https://img.shields.io/badge/rustc-1.63+-orange.svg"/>
<a href="https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html">
<img alt="Rust 1.70+" src="https://img.shields.io/badge/rustc-1.63+-orange.svg"/>
</a>
<a href="https://www.apache.org/licenses/LICENSE-2.0">
<img alt="License Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue.svg"/>
Expand Down
4 changes: 2 additions & 2 deletions README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<a href="https://msrd0.github.io/gotham_formdata/doc/gotham_formdata/index.html">
<img alt="docs for main" src="https://img.shields.io/badge/docs-main-blue.svg"/>
</a>
<a href="https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html">
<img alt="Rust 1.63+" src="https://img.shields.io/badge/rustc-1.63+-orange.svg"/>
<a href="https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html">
<img alt="Rust 1.70+" src="https://img.shields.io/badge/rustc-1.63+-orange.svg"/>
</a>
<a href="https://www.apache.org/licenses/LICENSE-2.0">
<img alt="License Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue.svg"/>
Expand Down

0 comments on commit ddb58d6

Please sign in to comment.