chore(deps): Update Rust crate schemars to v1
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| schemars (source) | dependencies | major | 0.8.21 -> 1.0.0 |
Release Notes
GREsau/schemars (schemars)
v1.0.3
Fixed
- Fix compile error when a doc comment is set on both a
transparent(or newtype) struct and its field (https://github.com/GREsau/schemars/issues/446) - Fix
json_schema!()macro compatibility when used from pre-2021 rust editions (https://github.com/GREsau/schemars/pull/447)
v1.0.2
Fixed
- Fix schema properties being incorrectly reordered during serialization (https://github.com/GREsau/schemars/issues/444)
v1.0.1
Fixed
- Deriving
JsonSchemawithno_stdbroken due tostd::borrow::ToOwnedtrait not being in scope (https://github.com/GREsau/schemars/issues/441)
v1.0.0
This is a major release with many additions, fixes and changes since 0.8 (but not many since 0.9). While the basic usage (deriving JsonSchema and using schema_for!() or SchemaGenerator) is mostly unchanged, you may wish to consult the migration guide which covers some of the most significant changes.
Changes since 1.0.0-rc.2:
Added
#[schemars(bound = ...)]attributes are now used from fields as well as containers- The
Schema::pointer(...)method now works when given a JSON pointer in URI Fragment representation with a leading#character. In particular, this means that you can now lookup a schema from a$refvalue using that method.
Fixed
- Schema names that contain special characters are now correctly encoded when used inside a
$refvalue (https://github.com/GREsau/schemars/pull/436) - Optimise type param usage in
SchemaGenerator::subschema_for, reducing LLVM line count and improving compile times (https://github.com/GREsau/schemars/pull/439)
v0.9.0
This version is identical to 1.0.0-alpha.18, but is available for those who are unable to unwilling to use a pre-release version.
Those upgrading from Schemars 0.8 may want to consult the migration guide, which also applies when migrating from 0.8 to 0.9.
v0.8.22
Fixed:
- Fix compatibility with rust 2024 edition (https://github.com/GREsau/schemars/pull/378)
Configuration
📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.