Update docs and changelog
This commit is contained in:
parent
aeb989486e
commit
5836afbd64
3 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
- Implement `JsonSchema` for `semver::Version` (https://github.com/GREsau/schemars/pull/195 / https://github.com/GREsau/schemars/pull/238)
|
||||
- Include const generics in generated schema names (https://github.com/GREsau/schemars/pull/179 / https://github.com/GREsau/schemars/pull/239)
|
||||
- Implement `JsonSchema` for types from indexmap v2 (https://github.com/GREsau/schemars/pull/226 / https://github.com/GREsau/schemars/pull/240)
|
||||
|
||||
### Changed:
|
||||
|
||||
|
|
|
@ -258,6 +258,7 @@ Schemars can implement `JsonSchema` on types from several popular crates, enable
|
|||
|
||||
- `chrono` - [chrono](https://crates.io/crates/chrono) (^0.4)
|
||||
- `indexmap1` - [indexmap](https://crates.io/crates/indexmap) (^1.2)
|
||||
- `indexmap2` - [indexmap](https://crates.io/crates/indexmap) (^2.0)
|
||||
- `either` - [either](https://crates.io/crates/either) (^1.3)
|
||||
- `uuid08` - [uuid](https://crates.io/crates/uuid) (^0.8)
|
||||
- `uuid1` - [uuid](https://crates.io/crates/uuid) (^1.0)
|
||||
|
|
|
@ -6,13 +6,16 @@ permalink: /features/
|
|||
---
|
||||
|
||||
# Feature Flags and Optional Dependencies
|
||||
|
||||
- `derive` (enabled by default) - provides `#[derive(JsonSchema)]` macro
|
||||
- `impl_json_schema` - implements `JsonSchema` for Schemars types themselves
|
||||
- `preserve_order` - keep the order of struct fields in `Schema` and `SchemaObject`
|
||||
|
||||
Schemars can implement `JsonSchema` on types from several popular crates, enabled via feature flags (dependency versions are shown in brackets):
|
||||
|
||||
- `chrono` - [chrono](https://crates.io/crates/chrono) (^0.4)
|
||||
- `indexmap1` - [indexmap](https://crates.io/crates/indexmap) (^1.2)
|
||||
- `indexmap2` - [indexmap](https://crates.io/crates/indexmap) (^2.0)
|
||||
- `either` - [either](https://crates.io/crates/either) (^1.3)
|
||||
- `uuid08` - [uuid](https://crates.io/crates/uuid) (^0.8)
|
||||
- `uuid1` - [uuid](https://crates.io/crates/uuid) (^1.0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue