#[schemars(transform = some::transform)] for applying arbitrary modifications to generated schemas. some::transform must be an expression of type schemars::transform::Transform - note that this can be a function with the signature fn(&mut Schema) -> ().
SchemaSettings and SchemaGenerator are both now Send
Changed (⚠️ breaking changes ⚠️)
visit module and Visitor trait have been replace with transform and Transform respectively. Accordingly, these items have been renamed:
#[schemars(transform = some::transform)] for applying arbitrary modifications to generated schemas. some::transform must be an expression of type schemars::transform::Transform - note that this can be a function with the signature fn(&mut Schema) -> ().
SchemaSettings and SchemaGenerator are both now Send
Changed (⚠️ breaking changes ⚠️)
visit module and Visitor trait have been replace with transform and Transform respectively. Accordingly, these items have been renamed:
Speed up \uXXXX parsing and improve handling of unpaired surrogates when deserializing to bytes (#1172, #1175, thanks @purplesyringa)
v1.0.124
Fix a bug in processing string escapes in big-endian architectures (#1173, thanks @purplesyringa)
v1.0.123
Optimize string parsing by applying SIMD-within-a-register: 30.3% improvement on twitter.json from 613 MB/s to 799 MB/s (#1161, thanks @purplesyringa)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the npm-dependencies group with 4 updates: clap, schemars, serde and serde_json.
Updates
clap
from 4.5.14 to 4.5.15Release notes
Sourced from clap's releases.
Changelog
Sourced from clap's changelog.
Commits
050b6c5
chore: Release5e61bd4
docs: Update changelog6f88091
Merge pull request #5671 from epage/envc402ec6
feat(complete): Env hook for dynamic completions6288e11
test(complete): Specialize tests84cfd92
Merge pull request #5667 from a-kenji/fix-typo70d8334
Merge pull request #5669 from epage/reorgcddbb56
fix(complete): Correct version check6374053
style: Order fn attributesf75251f
fix(complete)!: Rename shells to commandUpdates
schemars
from 1.0.0-alpha.2 to 1.0.0-alpha.3Release notes
Sourced from schemars's releases.
Changelog
Sourced from schemars's changelog.
Commits
e0c2c31
Update changelog for 1.0.0-alpha.23271fbd
Update changelog for 1.0.0-alpha.1a20c197
Update readme - link to v1 branch/PR7f6a7b7
Typo in changelog8da70a4
v0.8.191a40d1b
Fix deriving JsonSchema on enum without variants4b90b6f
v0.8.18d04c17b
Simplify generated enum code (#286)e5ef0f8
v0.8.17df00e2f
Add comment explaining why we double-parse anExpr
Updates
serde
from 1.0.205 to 1.0.207Release notes
Sourced from serde's releases.
Commits
1b4da41
Release 1.0.207f61d452
Touch up PR 2795f986609
Merge pull request #2795 from Mingun/has-flatten-rework77a6a9d
Take into account only not skipped flatten fields when choose serialization form547d843
Remove dead code - serialize_struct_as_map always called when cattrs.has_flat...005cb84
Fail with an understandable message is number of fields for serialization is ...fd5b5e9
Correctly calculatehas_flatten
attribute in all cases for deserialization0647a7c
Fix creating and filling a collections that was not read85c73ef
Release 1.0.2065ba1796
Resolve doc_markdown pedantic lint on regression test functionUpdates
serde_json
from 1.0.122 to 1.0.125Release notes
Sourced from serde_json's releases.
Commits
6130f9b
Release 1.0.125cc7a160
Touch up PR 11750f942e5
Merge pull request 1175 from iex-rs/faster-backslash-ud8921cd
Merge pull request #1172 from iex-rs/faster-hexb4bc643
Merge pull request #1176 from dtolnay/miriname94a2aad
Improve job names for miri jobs8073fc1
Merge pull request #1174 from iex-rs/miri-on-ci96ae604
Correct WTF-8 parsing236cc82
Simplify unicode escape handling2f28d10
Use the same UTF-8/WTF-8 impl for surrogatesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show