Skip to content

Commit

Permalink
Update gotham to 0.7 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 authored Nov 13, 2021
1 parent 8ae12a4 commit e739ace
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@1.49.0
- uses: dtolnay/rust-toolchain@1.51.0

- uses: actions/cache@v2
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-cargo-1.49
key: ${{ runner.os }}-cargo-1.51

- run: cargo test -- --skip trybuild_ui
env:
Expand All @@ -27,14 +27,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@1.49.0
- uses: dtolnay/rust-toolchain@1.51.0

- uses: actions/cache@v2
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-cargo-1.49
key: ${{ runner.os }}-cargo-1.51

- run: cargo test --no-default-features --lib --tests -- --skip trybuild_ui
env:
Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include = ["src/**", "Cargo.toml", "LICENSE", "README.md"]
bytes = "1.0"
form_urlencoded = "1.0"
futures-util = "0.3.15"
gotham = { version = "0.6", default-features = false }
gotham = { version = "0.7", default-features = false }
gotham_formdata_derive = { version = "0.0.3", path = "derive/" }
log = "0.4"
mime = "0.3.16"
Expand All @@ -32,6 +32,7 @@ validator = "0.14"

[dev-dependencies]
futures-executor = "0.3.15"
gotham = { version = "0.7", features = ["testing"], default-features = false }
percent-encoding = "2.1"
pretty_env_logger = "0.4"
trybuild = "=1.0.52"
Expand Down
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/2020/12/31/Rust-1.49.0.html">
<img alt="Rust 1.49+" src="https://img.shields.io/badge/rustc-1.49+-orange.svg"/>
<a href="https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html">
<img alt="Rust 1.51+" src="https://img.shields.io/badge/rustc-1.51+-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/2020/12/31/Rust-1.49.0.html">
<img alt="Rust 1.49+" src="https://img.shields.io/badge/rustc-1.49+-orange.svg"/>
<a href="https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html">
<img alt="Rust 1.51+" src="https://img.shields.io/badge/rustc-1.51+-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 e739ace

Please sign in to comment.