From 4b90b6f8c88bad2c2fc534f0b3f7e851dfe6b7bf Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Mon, 6 May 2024 13:58:49 +0100 Subject: [PATCH] v0.8.18 --- CHANGELOG.md | 6 ++++++ Cargo.lock | 4 ++-- schemars/Cargo.toml | 4 ++-- schemars_derive/Cargo.toml | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8977f9d3..8eb5406f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [0.8.18] - 2024-05-06 + +### Fixed: + +- Reduce size of MIR output (and improve release-mode compile time) when deriving `JsonSchema` on enums (https://github.com/GREsau/schemars/pull/266 / https://github.com/GREsau/schemars/pull/286) + ## [0.8.17] - 2024-04-28 ### Changed: diff --git a/Cargo.lock b/Cargo.lock index 3531085a..5fc997ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,7 +318,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "schemars" -version = "0.8.17" +version = "0.8.18" dependencies = [ "arrayvec 0.5.2", "arrayvec 0.7.4", @@ -347,7 +347,7 @@ dependencies = [ [[package]] name = "schemars_derive" -version = "0.8.17" +version = "0.8.18" dependencies = [ "pretty_assertions", "proc-macro2", diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index 5abaa65b..1f300f15 100644 --- a/schemars/Cargo.toml +++ b/schemars/Cargo.toml @@ -3,7 +3,7 @@ name = "schemars" description = "Generate JSON Schemas from Rust code" homepage = "https://graham.cool/schemars/" repository = "https://github.com/GREsau/schemars" -version = "0.8.17" +version = "0.8.18" authors = ["Graham Esau "] edition = "2021" license = "MIT" @@ -14,7 +14,7 @@ build = "build.rs" rust-version = "1.60" [dependencies] -schemars_derive = { version = "=0.8.17", optional = true, path = "../schemars_derive" } +schemars_derive = { version = "=0.8.18", optional = true, path = "../schemars_derive" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.25" dyn-clone = "1.0" diff --git a/schemars_derive/Cargo.toml b/schemars_derive/Cargo.toml index 5704d7f9..8e2a117d 100644 --- a/schemars_derive/Cargo.toml +++ b/schemars_derive/Cargo.toml @@ -3,7 +3,7 @@ name = "schemars_derive" description = "Macros for #[derive(JsonSchema)], for use with schemars" homepage = "https://graham.cool/schemars/" repository = "https://github.com/GREsau/schemars" -version = "0.8.17" +version = "0.8.18" authors = ["Graham Esau "] edition = "2021" license = "MIT"