byteordered
Abstraction for reading and writing data with implicit byte order awareness
0.6.0
17M downloads/mo
#2252 most downloaded on crates.io
Enet4/byteordered
What this package is like to depend on
Last release 5 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.7 years
Most releases are documented
notes for 7 of 9 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
9 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
9 releases · Nov 2018 to Aug 2021Releases
latest 9-
0.6.003 Aug 2021Release notes
Open source →Changes
- The minimum Rust version required was bumped to 1.41.1 (#6)
- The
Endiantrait now impliesCopy, and all its methods receiveselfinstead of&self(#12)- This should not affect most users, unless the universal function calling syntax was used (e.g.
Endian::read_u16(e, src)).
- This should not affect most users, unless the universal function calling syntax was used (e.g.
New
read_*_intomethods were added, analogous to the ones inbyteorder(#8)- New
set_endiannessmethod inByteOrdered(#11)
Fixes
- Corrected typos in documented methods (#7)
Enhancements
- Added more
#[inline]attributes, giving the compiler more room for optimizations in consumers
Chores
-
0.5.002 Dec 2019Release notes
Open source →Breaking
- The method
ByteOrdered#endianness()no longer returns the endianness value as known at run-time (of typeEndianness), but the actual endianness information as known by the compiler (typeE). This value should be more useful in general, and can be converted to anEndianness(From/Into) if that is really necessary. - The minimum Rust compiler version has been bumped to 1.31.0.
- The Cargo feature
i128no longer exists and should just be removed from your project. Everything else should work as intended without it.
- The method
-
0.4.126 Nov 2019 -
0.4.015 Jan 2019Release notes
Open source →New
- A new macro
with_order!provides an explicitly monomorphized scope for reading and writing. Fromimplementation forByteOrdered, which can now be built from a(T, E)tuple.- New methods for
ByteOrdered:into_parts(returns a tuple) andas_mut(for borrowing the source into a newByteOrdered) - Derive
CloneforByteOrdered(whereT: CloneandE: Clone, the latter is guaranteed for existing implementers).
Breaking
No breaking changes that I know of. This version bump was to better pin down the moment where all these new features were introduced.
- A new macro
-
0.3.114 Dec 2018Release notes
Open source →New
- Public method
StaticEndianness::new, equivalent toStaticEndianness::default
Other
- Documentation fix: links to external crates should now work on docs.rs
- Assume
i128feature on docs.rs
- Public method
-
0.3.005 Dec 2018Release notes
Open source →New
As part of an extension to the
Endiantrait, Methodsinto_oppositeandis_nativeare now always available on bothByteOrderedand the material endianness typesStaticEndianness<B>andEndianness.Changes
Other definitions of
into_oppositewere moved into theEndiantrait. If you find a compilation error, you might need touseit.Other
Minor documentation improvements.
-
0.2.129 Nov 2018 -
0.2.022 Nov 2018Nothing published for this version
-
0.1.022 Nov 2018Nothing published for this version