From ba92234b3e04d15a6133244d5db302548dfdd933 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Fri, 12 Aug 2022 15:49:59 +0100 Subject: [PATCH] Update changelog, update MSRV to 1.45 --- .github/workflows/ci.yml | 9 +++------ CHANGELOG.md | 5 +++++ README.md | 2 +- clippy.toml | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index adb9afb..685fb8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,14 +8,13 @@ jobs: strategy: matrix: rust: - - 1.37.0 + - 1.45.0 - stable - beta - nightly include: - - rust: 1.37.0 - # exclude ui_test as the output is slightly different in rustc 1.37 - test_features: "--features impl_json_schema,chrono,indexmap,either,uuid08,smallvec,arrayvec05,enumset" + - rust: 1.45.0 + test_features: "--all-features" allow_failure: false - rust: stable test_features: "--all-features" @@ -38,8 +37,6 @@ jobs: run: cargo check --verbose --no-default-features continue-on-error: ${{ matrix.allow_failure }} working-directory: ./schemars - - if: matrix.rust == '1.37.0' - run: cargo update -p indexmap --precise 1.6.2 - name: Run tests run: cargo test --verbose ${{ matrix.test_features }} --no-fail-fast continue-on-error: ${{ matrix.allow_failure }} diff --git a/CHANGELOG.md b/CHANGELOG.md index b081bfb..d45c397 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## **in-dev** +### Changed: +- Derived `JsonSchema` now respects attributes on unit enum variants (https://github.com/GREsau/schemars/pull/152) +- Minimum supported rust version is now 1.45.0 + ## [0.8.10] - 2022-05-17 - Undo "Support generic default values in default attributes (https://github.com/GREsau/schemars/pull/83)" as it inadvertently introduced a breaking change (https://github.com/GREsau/schemars/issues/144) diff --git a/README.md b/README.md index 95940cc..a94bf7f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![CI Build](https://img.shields.io/github/workflow/status/GREsau/schemars/CI?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.37+](https://img.shields.io/badge/schemars-rustc_1.37+-lightgray.svg)](https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html) +[![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) Generate JSON Schema documents from Rust code diff --git a/clippy.toml b/clippy.toml index 3a62059..90bfd5f 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -msrv = "1.37.0" +msrv = "1.45.0"