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

fix(deps): update rust crate rkyv to 0.8 #184

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 11, 2024

This PR contains the following updates:

Package Type Update Change
rkyv dependencies minor 0.7 -> 0.8

Release Notes

rkyv/rkyv (rkyv)

v0.8.1

Compare Source

This bugfix release corrects an infinite loop in hash map probing.

v0.8.0

It's finally here! A ton of stuff has changed, so here are some highlights:

  • API free functions are now more ergonomic and consistently-named. See to_bytes, from_bytes, access, and everything else!
  • rkyv now provides separate "API levels" for high-level Rust code and low-level Rust code.
  • Error handling has been completely overhauled with the introduction of rancor. Validation, serialization, and deserialization all now accept error type parameters so you can choose how you want errors to accumulate.
  • rkyv now supports remote derive! Read all about it in the book.
  • Unaligned primitives are now supported via the unaligned feature. If you choose, no more worrying about buffer alignment!
  • Native endianness is no more. rkyv now defaults to little-endian, aligned, and 32-bit relative pointers. Use the format control features to change them if you want.
  • A few semver-affecting soundness issues have been fixed. rkyv should now really truly and always generate cross-platform buffers.
  • The archived hash map and b-tree map implementations have been overhauled for better space-efficiency and performance.
  • Macro attributes have been overhauled to make them significantly more cohesive and ergonomic.
  • rkyv's mutable API has been overhauled for improved soundness and ease of use.
  • rkyv's internal APIs have been overhauled for improved ease of use.
  • Many serialization and deserialization types and traits have been renamed for shortness and clarity.
  • Copy optimizations are now stable for many basic primitive types.
  • The Most Unhelpful Error no longer occurs (the compiler mentions With<_, _> when you try to deserialize)
  • AlignedVec now supports custom alignments
  • No more strict feature, rkyv is always in strict mode now
  • Lots and lots and lots of tech debt cleanup

... and much more! Try it out yourself after I release this new version on-stage at RustConf.

Reminder: this is a major version bump, and data previously serialized with rkyv 0.7 or below will not be compatible with 0.8. Any data you serialize in 0.8 is guaranteed to be compatible for the lifetime of the 0.8 releases.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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.

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.

0 participants