Update just-the-docs and feature flags docs

This commit is contained in:
Graham Esau 2024-08-20 23:09:19 +01:00
parent 8fa61b09a4
commit 564a5d8ae4
3 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@ permalink: /features/
# Feature Flags and Optional Dependencies
- `std` (enabled by default) - implements `JsonSchema` for types in the rust standard library (`JsonSchema` is still implemented on types in `core` and `alloc`, even when this feature is disabled). Disable this feature to use schemars in `no_std` environments.
- `derive` (enabled by default) - provides `#[derive(JsonSchema)]` macro
- `preserve_order` - keep the order of struct fields in `Schema` properties
- `raw_value` - implements `JsonSchema` for `serde_json::value::RawValue` (enables the serde_json `raw_value` feature)