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

Update validator requirement from 0.16 to 0.17 #64

Merged
merged 4 commits into from
Mar 11, 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
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 <[email protected]>"]
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
Loading