leo
leo copied to clipboard
Bump serde_yaml from 0.8.26 to 0.9.9
Bumps serde_yaml from 0.8.26 to 0.9.9.
Release notes
Sourced from serde_yaml's releases.
0.9.9
0.9.8
- Fix serialization of
TaggedValue
when used withto_value
(#313)0.9.7
- Allow an empty plain scalar to deserialize as an empty map or seq (#304)
0.9.6
- Fix tag not getting serialized in certain map values (#302)
0.9.5
0.9.4
- Add
serde_yaml::with::singleton_map
for serialization of enums as a 1-entry map (#300)- Reject duplicate keys when deserializing
Mapping
orValue
(#301)0.9.3
- Add categories to crates.io metadata
- Add keywords to crates.io metadata
0.9.2
- Improve
Debug
representation ofserde_yaml::Error
0.9.1
- Fix panic on some documents containing syntax error (#293)
- Improve error messages that used to contain duplicative line/column information (#294)
0.9.0
API documentation: https://docs.rs/serde_yaml/0.9
Highlights
The
serde_yaml::Value
enum gains aTagged
variant which represents the deserialization of YAML's!Tag
syntax. Tagged scalars, sequences, and mappings are all supported.An empty YAML input (or document containing only comments) will deserialize successfully to an empty map, empty sequence, or Serde struct as long as the struct has only optional fields. Previously this would error.
A new
.apply_merge()
method onValue
implements YAML's<<
merge key convention.The
Debug
representation ofserde_yaml::Value
has gotten vastly better (dtolnay/serde-yaml#287).Deserialization of borrowed strings now works.
#[derive(Deserialize, Debug)] struct Struct<'a> { borrowed: &'a str, }
... (truncated)
Commits
3ef5ebb
Release 0.9.9366dadc
Merge pull request #315 from dtolnay/recursive7d4528a
Add serde_yaml::with::singleton_map_recursived792a65
Release 0.9.8c3b792e
Propagate collect_str in singleton_map Serializeref6f2c5
Merge pull request #314 from dtolnay/taggede665241
Fix serialization of TaggedValue in to_valued61a571
Add TaggedValue to_value/from_value test144eb66
Ignore too_many_lines pedantic clippy linta16e1ad
Put value serializer data structures next to impls- Additional commits viewable in compare view
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 ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)