From b4a6aeb51b9a7a4d2821519f0368431704c975d2 Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Mon, 5 Apr 2021 21:08:26 +0100 Subject: [PATCH] Update changelog --- CHANGELOG.md | 1 + schemars/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bcbf6d0..aae0596 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## [0.8.3] - **In-dev** ### Added: - Support for `#[schemars(crate = "...")]` attribute to allow deriving JsonSchema when the schemars crate is aliased to a different name (https://github.com/GREsau/schemars/pull/55 / https://github.com/GREsau/schemars/pull/80) +- Implement `JsonSchema` for `bytes::Bytes` and `bytes::BytesMut` (https://github.com/GREsau/schemars/pull/68) ### Fixed: - Fix deriving JsonSchema on types defined inside macros (https://github.com/GREsau/schemars/issues/59 / https://github.com/GREsau/schemars/issues/66 / https://github.com/GREsau/schemars/pull/79) diff --git a/schemars/src/lib.rs b/schemars/src/lib.rs index eb6d5ac..2957fc4 100644 --- a/schemars/src/lib.rs +++ b/schemars/src/lib.rs @@ -268,6 +268,7 @@ Schemars can implement `JsonSchema` on types from several popular crates, enable - [`smallvec`](https://crates.io/crates/smallvec) (^1.0) - [`arrayvec`](https://crates.io/crates/arrayvec) (^0.5) - [`url`](https://crates.io/crates/url) (^2.0) +- [`bytes`](https://crates.io/crates/bytes) (^1.0) */ /// The map type used by schemars types.