Updated the derive
macro to use the stabilized procedural-macro crates.
The library now uses the 2018 edition of Rust, and has a minimum compiler
version of 1.31.0
.
Increased the minimum Rust version to 1.26.0 and removed the feature gate for 128-bit integers, which are now available by default.
Also overhaul the Justfile scripts to ease development.
The implementation of Endian
on &mut [Endian]
is now provided by default,
and is not kept behind a feature gate. The feature gate arrays
is still
required to access the implementations on the [Endian; N]
implementations.
- re-export the
#[derive(Endian)]
macro fromendian_trait_derive
- CI and tests
- This changelog
Endian
can now derive on discriminant-only (C-like) enums with integer representation. It cannot derive on#[repr(C)]
enums or data-carrying enums.
- pinned Rust version to 1.20.0
- implementations of
Endian
forisize
andusize
.
- implement
Endian
oni128
,u128
, and[T; N]
for arrays of zero through 256
- implement
Endian
onbool
,char
,f32
,f64
- use stable Rust instead of nightly
- crates.io metadata in
Cargo.toml
Endian
trait, implemented on the integer primitives