Skip to content

Commit cf9d13f

Browse files
committed
update rust versions
1 parent f24d912 commit cf9d13f

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
toolchain: [1.43, stable, beta]
13+
toolchain: [1.49, stable, beta]
1414
nightly: [false]
1515
include:
1616
- toolchain: nightly
@@ -45,13 +45,13 @@ jobs:
4545
- uses: actions/checkout@v2
4646
with:
4747
submodules: recursive
48-
- uses: dtolnay/rust-toolchain@1.52.0
48+
- uses: dtolnay/rust-toolchain@1.54.0
4949
- uses: actions/cache@v2
5050
with:
5151
path: |
5252
~/.cargo
5353
target
54-
key: ${{ runner.os }}-cargo-1.52 }}
54+
key: ${{ runner.os }}-cargo-1.54
5555
- run: cargo test -- trybuild
5656
env:
5757
RUST_BACKTRACE: 1
@@ -120,7 +120,7 @@ jobs:
120120
~/.cargo/git
121121
~/.cargo/registry
122122
target
123-
key: ${{ runner.os }}-cargo-${{ steps.rust-version.outputs.version }}-tarpaulin-${{ steps.tarpaulin-version.outputs.version }} }}
123+
key: ${{ runner.os }}-cargo-${{ steps.rust-version.outputs.version }}-tarpaulin-${{ steps.tarpaulin-version.outputs.version }}
124124
- name: Install Tarpaulin
125125
run: |
126126
test -e ~/.cargo/bin/cargo-tarpaulin || cargo install cargo-tarpaulin --version ${{ steps.tarpaulin-version.outputs.version }}
@@ -157,7 +157,7 @@ jobs:
157157
path: |
158158
~/.cargo
159159
target
160-
key: ${{ runner.os }}-cargo-doc }}
160+
key: ${{ runner.os }}-cargo-doc
161161
- run: cargo doc --workspace --all-features
162162
- run: tar cfJ rustdoc.tar.xz target/doc/
163163
- uses: actions/upload-artifact@v2

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ readme = "crates-io.md"
1616
include = ["src/**/*", "LICENSE", "crates-io.md"]
1717

1818
[dependencies]
19-
indexmap = "1.6"
19+
indexmap = "1.7"
2020
openapi_type_derive = { path = "./derive", version = "0.2.3" }
2121
openapiv3 = "=0.4.0"
2222
serde_json = "1.0"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<a href="https://msrd0.github.io/openapi_type/doc/openapi_type/index.html">
1010
<img alt="rustdoc" src="https://img.shields.io/badge/docs-main-blue.svg"/>
1111
</a>
12-
<a href="https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html">
13-
<img alt="Rust 1.43+" src="https://img.shields.io/badge/rustc-1.43+-orange.svg"/>
12+
<a href="https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html">
13+
<img alt="Rust 1.49+" src="https://img.shields.io/badge/rustc-1.49+-orange.svg"/>
1414
</a>
1515
<a href="https://www.apache.org/licenses/LICENSE-2.0">
1616
<img alt="License Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue.svg"/>

README.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<a href="https://msrd0.github.io/openapi_type/doc/openapi_type/index.html">
1010
<img alt="rustdoc" src="https://img.shields.io/badge/docs-main-blue.svg"/>
1111
</a>
12-
<a href="https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html">
13-
<img alt="Rust 1.43+" src="https://img.shields.io/badge/rustc-1.43+-orange.svg"/>
12+
<a href="https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html">
13+
<img alt="Rust 1.49+" src="https://img.shields.io/badge/rustc-1.49+-orange.svg"/>
1414
</a>
1515
<a href="https://www.apache.org/licenses/LICENSE-2.0">
1616
<img alt="License Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue.svg"/>

crates-io.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_type [![Rust 1.43+](https://img.shields.io/badge/rustc-1.43+-orange.svg)](https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/openapi_type)
1+
# openapi_type [![Rust 1.49+](https://img.shields.io/badge/rustc-1.49+-orange.svg)](https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/openapi_type)
22

33
This crate gives static type information for primitives and commonly used types from the standard
44
library and a few other commonly used libraries like `chrono` and `uuid`. Also, it provides a

crates-io.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# openapi_type [![Rust 1.43+](https://img.shields.io/badge/rustc-1.43+-orange.svg)](https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/openapi_type)
1+
# openapi_type [![Rust 1.49+](https://img.shields.io/badge/rustc-1.49+-orange.svg)](https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/openapi_type)
22

33
{{readme}}
44

tests/fail/not_openapitype.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ error[E0277]: the trait bound `Bar: OpenapiType` is not satisfied
55
| ^^^^^^^^^^^ the trait `OpenapiType` is not implemented for `Bar`
66
|
77
= note: required by `schema`
8-
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
8+
= note: this error originates in the derive macro `OpenapiType` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)