From bb8c93ddc155d7d204f9f6e094515f1ec2ea61d5 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sat, 16 May 2020 12:27:56 +0100 Subject: [PATCH] v0.7.4 --- CHANGELOG.md | 2 +- schemars/Cargo.toml | 4 ++-- schemars_derive/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08032c7..a066575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # Changelog -## In-dev - version TBC +## [0.7.4] - 2020-05-16 ### Added: - If a struct is annotated with `#[serde(deny_unknown_fields)]`, generated schema will have `additionalProperties` set to `false` (https://github.com/GREsau/schemars/pull/30) - Set `type` property to `string` on simple enums (https://github.com/GREsau/schemars/issues/28) diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index 81b20e6..7654f19 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.7.3" +version = "0.7.4" authors = ["Graham Esau "] edition = "2018" license = "MIT" @@ -13,7 +13,7 @@ categories = ["encoding"] build = "build.rs" [dependencies] -schemars_derive = { version = "=0.7.3", path = "../schemars_derive" } +schemars_derive = { version = "=0.7.4", path = "../schemars_derive" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/schemars_derive/Cargo.toml b/schemars_derive/Cargo.toml index f6d396b..b8399fc 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.7.3" +version = "0.7.4" authors = ["Graham Esau "] edition = "2018" license = "MIT"