emplace
emplace copied to clipboard
fix(deps): update rust crate ron to 0.10.0
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| ron | dependencies | minor | 0.8.1 -> 0.10.0 |
Release Notes
ron-rs/ron (ron)
v0.10.1
API Changes
- Add
ron::Options::to_io_writerandron::Options::to_io_writer_prettyto allow writing into anio::Writer(#561) - Breaking:
ron::value::Numberis now non-exhaustive, to avoid breakingmatches when feature unification enables more of its variants than expected (#564)
v0.9.0
API Changes
- Add
ron::value::RawValuehelper type which can (de)serialize any valid RON (#407) - Add
escape_stringsoption toPrettyConfigto allow serialising with or without escaping (#426) - Add
compact_mapsandcompact_structsoptions toPrettyConfigto allow serialising maps and structs on a single line (#448) - Add minimal support for
#[serde(flatten)]with roundtripping through RON maps (#455) - Add minimal roundtripping support for
#[serde(tag = "tag")],#[serde(tag = "tag", content = "content")], and#[serde(untagged)]enums (#451) - Breaking: Expand the
value::Numberenum to explicitly encode all possible number types (#479) - Add
number_suffixesoption toPrettyConfigto allow serialising numbers with their explicit type suffix, e.g.42i32(#481) - Allow
ron::value::RawValueto capture any whitespace to the left and right of a ron value (#487) - Breaking: Enforce that ron always writes valid UTF-8 (#488)
- Add convenient
Value::fromimpls (#498) - Add new extension
explicit_struct_nameswhich requires that struct names are included during deserialization (#522) - Add new path-based field metadata serialization support via
PrettyConfig(#544) - Breaking: Change
PrettyConfigso thatnew_line,indentorandseparatorare allCow<'static, str>instead ofString(#546)
Format Changes
- [Non-API] Breaking: Treat
Somelike a newtype variant withunwrap_variant_newtypes(#465) - Allow parsing floating point literals with underscores (#481)
- Format-Breaking: Switch from base64-encoded to Rusty byte strings, still allow base64 deserialising for now (#438)
- Fix issue #241 and allow parsing numbers with explicit type suffixes, e.g.
1u8or-1f32(#481) - Add support for byte literals as strongly typed unsigned 8-bit integers (#438)
- Fix issue #321 and allow parsing UTF-8 identifiers (#488)
Bug Fixes
- Fix parsing
ras a self-describing struct or variant name (and not the start of a raw string) (#465) - Fix serialising raw strings containing a literal backslash (#465)
- Fix serialising
Noneinside a stack of nestedOptions with#![enable(implicit_some)]enabled (#465) - Fix deserialising deserialising
A('/')into aron::Value(#465) - Fix issue #445 and allow parsing
+unsignedas an unsigned int (#479) - Fix serialising reserved identifiers
true,false,Some,None,inf[f32|f64], andNan[f32|f64] (#487) - Disallow unclosed line comments at the end of
ron::value::RawValue(#489) - Fix parsing of struct/variant names starting in
None,Some,true, orfalse(#499) - Fix deserialising owned string field names in structs, allowing deserializing into
serde_json::Values (#511)
Miscellaneous
- Add CIFuzz GitHub action (#429)
- Update the arbitrary fuzzer to check arbitrary serde data types, values, and
ron::ser::PrettyConfigs (#465) - Add a benchmark for PRs that runs over the latest fuzzer corpus (#465)
- Fuzz serde enum representations and collect current limitations in ron and serde (#502)
- Update
base64dependency to version 0.22 (#529) - Fix issue #556 and update minium dependency versions (#557)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
Branch automerge failure
This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
- Branch has one or more failed status checks