(#29) Fix parsing failing for deeply indented scalar blocks.
(#21-comment) Fix parsing failing with comments immediately following a YAML tag.
Features
(#19) Yaml now implements IndexMut<usize> and IndexMut<&'a str>. These functions may not return a mutable reference to a BAD_VALUE. Instead, index_mut() will panic if either:
The index is out of range, as per IndexMut's requirements
The inner Yaml variant doesn't match Yaml::Array for usize or Yaml::Hash for &'a str
Use cargo features
This allows for more fine-grained control over MSRV and to completely remove debug code from the library when it is consumed.
The encoding feature, governing the YamlDecoder, has been enabled by default. Users of @davvid's fork of yaml-rust or of yaml-rust2 might already use this. Users of the original yaml-rust crate may freely disable this feature (cargo <...> --no-default-features) and lower MSRV to 1.65.0.
Duplicate keys no longer allowed
Instead of silently choosing one of two values sharing the same key in a mapping, we now issue an error. This behavior is part of the YAML specification, but not tested by the yaml-test-suite (the parser needs to emit events for both key-values). Additionally, there is no standard way of defining which value should be chosen in case of a duplicate.
(#29) Fix parsing
failing for deeply indented scalar blocks.
(#21-comment)
Fix parsing failing with comments immediately following a YAML tag.
Features
(#19) Yaml now
implements IndexMut<usize> and IndexMut<&'a str>. These functions may not
return a mutable reference to a BAD_VALUE. Instead, index_mut() will
panic if either:
The index is out of range, as per IndexMut's requirements
The inner Yaml variant doesn't match Yaml::Array for usize or
Yaml::Hash for &'a str
Use cargo features
This allows for more fine-grained control over MSRV and to completely remove
debug code from the library when it is consumed.
The encoding feature, governing the YamlDecoder, has been enabled by
default. Users of @davvid's fork of yaml-rust or of yaml-rust2 might
already use this. Users of the original yaml-rust crate may freely disable
this feature (cargo <...> --no-default-features) and lower MSRV to 1.65.0.
Duplicate keys no longer allowed
Instead of silently choosing one of two values sharing the same key in a
mapping, we now issue an error. This behavior is part of the YAML
specification, but not tested by the yaml-test-suite (the parser needs to
emit events for both key-values). Additionally, there is no standard way of
defining which value should be chosen in case of a duplicate.
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 vhost-device group with 3 updates: clang-sys, proc-macro2 and yaml-rust2.
Updates
clang-sys
from 1.8.0 to 1.8.1Release notes
Sourced from clang-sys's releases.
Changelog
Sourced from clang-sys's changelog.
Commits
cf3874b
Bump versioncba4e80
Add support for libclang 18.0.x8ee54d6
Improve Visual Studio detection (#166)6757c6e
Improve static linking error/documentation (#174)74e4c3a
Improve DLL filtering on Windows (#170)Updates
proc-macro2
from 1.0.84 to 1.0.85Release notes
Sourced from proc-macro2's releases.
Commits
5ee1cab
Release 1.0.85aa64c20
Merge pull request #464 from dtolnay/testsizebc9f4d9
Ignore size tests on non-64bit target1160ec3
Make size tests #[ignore] in cfg(randomize_layout)Updates
yaml-rust2
from 0.8.0 to 0.8.1Release notes
Sourced from yaml-rust2's releases.
Changelog
Sourced from yaml-rust2's changelog.
Commits
9b2d763
yaml-rust2 v0.8.159415ec
Fix new warnings with newer clippy.2112fcc
Update changelog.9f56534
Fix issue with deeply indented block scalars.0eb7936
Fix error with comments after tags.0b42882
Remove unneeded dependency.644af6a
Disallow duplicate keys in mappings.0a63795
Messed up the MSRV.77306e1
Use cargo features.4ca0fc4
yaml: Implement IndexMutDependabot 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