Skip to content

chore(deps): Update Rust crate ron to 0.10 #652

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 1, 2025

This PR contains the following updates:

Package Type Update Change
ron dependencies minor 0.8 -> 0.10

Release Notes

ron-rs/ron (ron)

v0.10.1

API Changes
  • Add ron::Options::to_io_writer and ron::Options::to_io_writer_pretty to allow writing into an io::Writer (#​561)
  • Breaking: ron::value::Number is now non-exhaustive, to avoid breaking matches when feature unification enables more of its variants than expected (#​564)

v0.9.0

Compare Source

API Changes
  • Add ron::value::RawValue helper type which can (de)serialize any valid RON (#​407)
  • Add escape_strings option to PrettyConfig to allow serialising with or without escaping (#​426)
  • Add compact_maps and compact_structs options to PrettyConfig to 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::Number enum to explicitly encode all possible number types (#​479)
  • Add number_suffixes option to PrettyConfig to allow serialising numbers with their explicit type suffix, e.g. 42i32 (#​481)
  • Allow ron::value::RawValue to 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::from impls (#​498)
  • Add new extension explicit_struct_names which requires that struct names are included during deserialization (#​522)
  • Add new path-based field metadata serialization support via PrettyConfig (#​544)
  • Breaking: Change PrettyConfig so that new_line, indentor and separator are all Cow<'static, str> instead of String (#​546)
Format Changes
  • [Non-API] Breaking: Treat Some like a newtype variant with unwrap_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. 1u8 or -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 r as 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 None inside a stack of nested Options with #![enable(implicit_some)] enabled (#​465)
  • Fix deserialising deserialising A('/') into a ron::Value (#​465)
  • Fix issue #​445 and allow parsing +unsigned as an unsigned int (#​479)
  • Fix serialising reserved identifiers true, false, Some, None, inf[f32|f64], and Nan[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, or false (#​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 base64 dependency to version 0.22 (#​529)
  • Fix issue #​556 and update minium dependency versions (#​557)

Configuration

📅 Schedule: Branch creation - "before 5am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

@polarathene
Copy link
Collaborator

Reference: #476 (review)

@renovate renovate bot force-pushed the renovate/ron-0.x branch from a9c656c to d6c1f52 Compare April 8, 2025 07:32
@renovate renovate bot changed the title chore(deps): Update Rust crate ron to 0.9 chore(deps): Update Rust crate ron to 0.10 Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant