-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test with minimal versions; Lower MSRV to 1.60 (#54)
- Loading branch information
Showing
5 changed files
with
30 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,17 +9,22 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/[email protected] | ||
|
||
- uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo -Z minimal-versions update | ||
- run: cargo update -p lazy_static | ||
|
||
- uses: dtolnay/[email protected] | ||
id: rust-toolchain | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo | ||
target | ||
key: ${{ runner.os }}-cargo-${{steps.rust-toolchain.outputs.cachekey}} | ||
key: ${{runner.os}}-cargo-${{steps.rust-toolchain.outputs.cachekey}} | ||
|
||
- run: cargo test -- --skip trybuild_ui | ||
- run: cargo test --locked -- --skip trybuild_ui | ||
env: | ||
RUST_BACKTRACE: 1 | ||
RUST_LOG: info | ||
|
@@ -28,7 +33,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/[email protected] | ||
|
||
- uses: dtolnay/rust-toolchain@nightly | ||
- run: cargo -Z minimal-versions update | ||
- run: cargo update -p lazy_static | ||
|
||
- uses: dtolnay/[email protected] | ||
id: rust-toolchain | ||
|
||
- uses: actions/cache@v3 | ||
|
@@ -38,7 +48,7 @@ jobs: | |
target | ||
key: ${{ runner.os }}-cargo-${{steps.rust-toolchain.outputs.cachekey}} | ||
|
||
- run: cargo test --no-default-features --lib --tests -- --skip trybuild_ui | ||
- run: cargo test --locked --no-default-features --lib --tests -- --skip trybuild_ui | ||
env: | ||
RUST_BACKTRACE: 1 | ||
RUST_LOG: info | ||
|
@@ -50,7 +60,7 @@ jobs: | |
- uses: dtolnay/rust-toolchain@master | ||
id: rust-toolchain | ||
with: | ||
toolchain: "1.69" | ||
toolchain: "1.72" | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ name = "gotham_formdata" | |
version = "0.0.7" | ||
authors = ["Dominic Meiser <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.65.0" | ||
rust-version = "1.60.0" | ||
description = "Form data parsing for the gotham web framework" | ||
keywords = ["gotham", "html", "form", "urlencoded", "multipart"] | ||
categories = ["web-programming", "web-programming::http-server"] | ||
|
@@ -21,7 +21,7 @@ include = ["src/**", "Cargo.toml", "LICENSE", "README.md"] | |
bytes = "1.0" | ||
form_urlencoded = "1.0" | ||
futures-util = "0.3.15" | ||
gotham = { version = "0.7", default-features = false } | ||
gotham = { version = "0.7.2", default-features = false } | ||
gotham_formdata_derive = { version = "0.0.7", path = "derive/" } | ||
log = "0.4" | ||
mime = "0.3.16" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters