PackageTrack
Sign in Get early access

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 2021
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 9
  1. 0.6.0 03 Aug 2021
    Release notes

    Changes

    • The minimum Rust version required was bumped to 1.41.1 (#6)
    • The Endian trait now implies Copy, and all its methods receive self instead of &self (#12)
      • This should not affect most users, unless the universal function calling syntax was used (e.g. Endian::read_u16(e, src)).

    New

    • read_*_into methods were added, analogous to the ones in byteorder (#8)
    • New set_endianness method in ByteOrdered (#11)

    Fixes

    • Corrected typos in documented methods (#7)

    Enhancements

    • Added more #[inline] attributes, giving the compiler more room for optimizations in consumers

    Chores

    • Simplified and improved doctests (#10)
    • Clippy lint fixes (#9)
    • Added GitHub Actions CI (#6)
    Open source →
  2. 0.5.0 02 Dec 2019
    Release notes

    Breaking

    • The method ByteOrdered#endianness() no longer returns the endianness value as known at run-time (of type Endianness), but the actual endianness information as known by the compiler (type E). This value should be more useful in general, and can be converted to an Endianness (From/Into) if that is really necessary.
    • The minimum Rust compiler version has been bumped to 1.31.0.
    • The Cargo feature i128 no longer exists and should just be removed from your project. Everything else should work as intended without it.
    Open source →
  3. 0.4.1 26 Nov 2019
    Release notes

    (cargo-release) byteordered version 0.4.1

    Open source →
  4. 0.4.0 15 Jan 2019
    Release notes

    (cargo-release) version 0.4.0

    Open source →
    Release notes

    New

    • A new macro with_order! provides an explicitly monomorphized scope for reading and writing.
    • From implementation for ByteOrdered, which can now be built from a (T, E) tuple.
    • New methods for ByteOrdered: into_parts (returns a tuple) and as_mut (for borrowing the source into a new ByteOrdered)
    • Derive Clone for ByteOrdered (where T: Clone and E: 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.

    Open source →
  5. 0.3.1 14 Dec 2018
    Release notes

    New

    • Public method StaticEndianness::new, equivalent to StaticEndianness::default

    Other

    • Documentation fix: links to external crates should now work on docs.rs
    • Assume i128 feature on docs.rs
    Open source →
    Release notes

    (cargo-release) version 0.3.1

    Open source →
  6. 0.3.0 05 Dec 2018
    Release notes

    (cargo-release) version 0.3.0

    Open source →
    Release notes

    New

    As part of an extension to the Endian trait, Methods into_opposite and is_native are now always available on both ByteOrdered and the material endianness types StaticEndianness<B> and Endianness.

    Changes

    Other definitions of into_opposite were moved into the Endian trait. If you find a compilation error, you might need to use it.

    Other

    Minor documentation improvements.

    Open source →
  7. 0.2.1 29 Nov 2018
    Release notes

    (cargo-release) version 0.2.1

    Open source →
  8. 0.2.0 22 Nov 2018

    Nothing published for this version

  9. 0.1.0 22 Nov 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive