Skip to content

Commit

Permalink
bump msrv to 1.60 to fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkna committed Jun 27, 2023
1 parent 144be00 commit a4466ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,15 @@ on: [push, pull_request, workflow_dispatch]
jobs:
ci:
runs-on: ubuntu-latest
env:
# work-around https://github.com/rust-lang/cargo/issues/10303
CARGO_NET_GIT_FETCH_WITH_CLI: ${{ matrix.rust == '1.45.0' }}
strategy:
matrix:
rust:
- 1.45.0
- 1.60.0
- stable
- beta
- nightly
include:
- rust: 1.45.0
- rust: 1.60.0
test_features: "--features impl_json_schema"
allow_failure: false
- rust: stable
Expand All @@ -36,9 +33,6 @@ jobs:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- if: matrix.rust == '1.45.0'
# work-around https://github.com/serde-rs/serde/issues/2255 and similar crate/rustc compatibility issues
run: cargo update -p serde --precise 1.0.142 && cargo update -p once_cell --precise 1.10.0 && cargo update -p pretty_assertions --precise 1.2.1 && cargo update -p trybuild --precise 1.0.64
- name: Check with no feature flags
run: cargo check --verbose --no-default-features
continue-on-error: ${{ matrix.allow_failure }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![CI Build](https://img.shields.io/github/actions/workflow/status/GREsau/schemars/ci.yml?branch=master&logo=GitHub)](https://github.com/GREsau/schemars/actions)
[![Crates.io](https://img.shields.io/crates/v/schemars)](https://crates.io/crates/schemars)
[![Docs](https://docs.rs/schemars/badge.svg)](https://docs.rs/schemars)
[![rustc 1.45+](https://img.shields.io/badge/schemars-rustc_1.45+-lightgray.svg)](https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html)
[![rustc 1.60+](https://img.shields.io/badge/schemars-rustc_1.60+-lightgray.svg)](https://blog.rust-lang.org/2020/07/16/Rust-1.60.0.html)

Generate JSON Schema documents from Rust code

Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.45.0"
msrv = "1.60.0"

0 comments on commit a4466ea

Please sign in to comment.