chore(deps): update rust crate schemars to v1 (v2)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| schemars (source) | workspace.dependencies | major | 0.8 -> 1.0 |
Release Notes
GREsau/schemars (schemars)
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.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 1.0.0
Updating crates.io index
error: failed to select a version for the requirement `schemars = "^0.8.18"`
candidate versions found which didn't match: 1.0.0
location searched: crates.io index
required by package `tauri-plugin v2.2.0`
... which satisfies dependency `tauri-plugin = "^2"` (locked to 2.2.0) of package `tauri-plugin-autostart v2.4.0 (/tmp/renovate/repos/github/tauri-apps/plugins-workspace/plugins/autostart)`
Package Changes Through dbb8eb8889aea85707133d07365a652364ec13e6
There are 2 changes which include cli with minor, cli-js with minor
Planned Package Versions
The following package releases are the planned based on the context of changes in this pull request.
| package | current | next |
|---|---|---|
| api-example | 2.0.28 | 2.0.29 |
| api-example-js | 2.0.24 | 2.0.25 |
| cli | 2.2.1 | 2.3.0 |
| cli-js | 2.2.1 | 2.3.0 |
Add another change file through the GitHub UI by following this link.
Read about change files or the docs at github.com/jbolda/covector
Wait for v3, https://github.com/tauri-apps/tauri/pull/13662