Skip to content

Commit 58ca924

Browse files
committed
feat: Add UUID schema support and update documentation
1 parent 4d9bf60 commit 58ca924

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
#### 🚀 Updates
6+
7+
- Added `type_uuid` feature for UUID schema support.
8+
39
## 0.18.8
410

511
#### 🚀 Updates

book/src/schema/external.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,9 @@ Implements schemas for `Value` and `Map` from the [toml](https://crates.io/crate
8383
> Requires the `type_url` Cargo feature.
8484
8585
Implements a schema for `Url` from the [url](https://crates.io/crates/url) crate.
86+
87+
## uuid
88+
89+
> Requires the `type_uuid` Cargo feature.
90+
91+
Implements a schema for `Uuid` from the [uuid](https://crates.io/crates/uuid) crate.

book/src/schema/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ Learn more about [external types](./external.md).
106106
- `type_rust_decimal` - Implements schematic for the `rust_decimal` crate.
107107
- `type_semver` - Implements schematic for the `semver` crate.
108108
- `type_url` - Implements schematic for the `url` crate.
109+
- `type_uuid` - Implements schematic for the `uuid` crate.
109110

110111
[schematic]: https://docs.rs/schematic/latest/schematic/trait.Schematic.html
111112
[schema]: https://docs.rs/schematic/latest/schematic/struct.Schema.html

0 commit comments

Comments
 (0)