Zero-copy deserialization framework for Rust
This bugfix release corrects macro hygiene when using the derive macros inside of a macro_rules!
context (#252).
Thanks to @DarrenTsung for reporting the issue.
This bugfix release addresses the following issues:
Raw
wrapper for maximum ser/de and validation performance on raw bytesPartialEq
for ArchivedDuration
(#247)hashbrown
support to 0.12 (#248)Thanks everyone who reported issues and to @petar-dambovaliev and @kastolars for filing pull requests!
This bugfix release extends Send
and Sync
impls to a few more types.
Thanks to @nagisa for filing an issue!
This bugfix release addresses the following issues:
#[with(Niche)]
on Option<NonZero*>
fields will only use as much space as the underlying integer type while archived.SystemTime
can now be serialized and deserialized using #[with(UnixTimestamp)]
, which converts the time to a duration since the UNIX epoch.SharedSerializeMapError
has been made Send
and Sync
.#[archive(...)]
and #[archive_attr(...)]
will now properly error. Previously, malformed arguments caused the attribute to be silently ignored.Thanks to @nagisa, @seritools, @kassens, and @ok-nick for reporting issues and filing feature requests.
This bugfix release addresses the following issues:
BTreeMap
as a struct member in certain situations (#239)AlignedVec::into_vec
when the resulting Vec
is droppedThanks to @Jasper-Bekkers for filing an issue!
This bugfix release removes doctest dependencies on the validation feature.
Thanks to @remilauzier for filing an issue!
0.7.27 is a bugfix release that fixes some issues and adds a few new features:
hashbrown
crate. This allows users to archive hash maps and hash sets without also needing std
.to_bytes
, from_bytes_unchecked
, and from_bytes
. These are utility functions to make working with serialization and deserialization easier, but may not provide the best possible performance for individual cases.HeapScratch
struct can now be used with const parameter N=0
.Thanks to @Miaxos for feature requests and a PR!
This bugfix release adds validation support for indexmap
types. Thanks to @nagisa for the feature request.
This bugfix release improves atomics support detection to provide atomics support to more targets.
Thanks to @tobz for the PR.
This bugfix release fixes #227 by removing the custom pad
impl for BufferSerializer
. This will cause the serializer to always write zeroes to padding to avoid surprises when reusing buffer memory. Thanks to @Diomendius for reporting an issue.