Skip to content
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

chore: Upgrade to ron to 0.9 #476

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

Commits on Oct 17, 2023

  1. chore: Upgrade to ron to 0.9

    - Ron `0.9` refactored the `Number` value variant to be lossless,
      which requires more thorough matching.
      - 128 integer support in Ron requires feature opt-in via `Cargo.toml`,
        (_as `ValueKind` implements an equivalent type, `config-rs` could opt-in_).
    - Ron `0.9` also introduces a new `Bytes` value variant to support
      rusty byte strings (`Vec<u8>`). This was to resolve a roundtrip
      serialization bug with base64 strings when serde `deserialize_any` is used
      (_which lacks a type hint and would deserialize as a literal string to bytes,
      instead of base64 decoded string to bytes_).
    - Clarified that the option value variant dereferences a boxed ron value.
    
    Signed-off-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
    polarathene committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    57d8690 View commit details
    Browse the repository at this point in the history