diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 75404acb52..227e39816a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 @@ -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 @@ -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: diff --git a/Cargo.toml b/Cargo.toml index 69feca7829..b2d760e951 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ name = "gotham_formdata" version = "0.0.7" authors = ["Dominic Meiser "] 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"] @@ -29,7 +29,7 @@ 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" @@ -37,4 +37,4 @@ 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"] } diff --git a/README.md b/README.md index 32195fa005..59a2840747 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ docs for main - - Rust 1.63+ + + Rust 1.70+ License Apache-2.0 diff --git a/README.tpl b/README.tpl index b3ac706dbe..dbd51cd67f 100644 --- a/README.tpl +++ b/README.tpl @@ -20,8 +20,8 @@ docs for main - - Rust 1.63+ + + Rust 1.70+ License Apache-2.0