From 1c9ecafd329ef4c26d6070078a007b56fea647ad Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sun, 21 Mar 2021 13:25:55 +0000 Subject: [PATCH] Bump MSRV to 1.37 --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 3 +++ README.md | 2 +- clippy.toml | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8e5dfb..af30d0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,12 @@ jobs: strategy: matrix: rust: - - 1.36.0 + - 1.37.0 - stable - beta - nightly include: - - rust: 1.36.0 + - rust: 1.37.0 test_features: "--all-features" allow_failure: false - rust: stable diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e48b2f..816e514 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ ### Added: - `SchemaGenerator::definitions_mut()` which returns a mutable reference to the generator's schema definitions +### Changed: +- Minimum supported rust version is now 1.37.0 + ### Changed: - Deriving JsonSchema on enums now sets `additionalProperties` to false on generated schemas wherever serde doesn't accept unknown properties. This includes non-unit variants of externally tagged enums, and struct-style variants of all enums that have the `deny_unknown_fields` attribute. diff --git a/README.md b/README.md index 995b8df..8128d22 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.36+](https://img.shields.io/badge/schemars-rustc_1.36+-lightgray.svg)](https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html) +[![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) Generate JSON Schema documents from Rust code diff --git a/clippy.toml b/clippy.toml index 0a54853..3a62059 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -msrv = "1.36.0" +msrv = "1.37.0"