All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Add
A1
type - Make the
Alignment
trait public, but unimplementable - Add some
Borrow
/BorrowMut
trait impls
v0.4.1 - 2022-05-30
Aligned<A, T>
implementsCopy
ifT
implementsCopy
v0.4.0 - 2021-07-24
as-slice
dependency bumped to 0.2.0
- [breaking-change] removed compatibility withe version 0.1.0 of
AsSlice
andAsMutSlice
traits (as-slice
crate)
v0.3.5 - 2021-07-17
- added
A32
andA64
types
v0.3.4 - 2020-07-31
Aligned
now implements thePartialEq
,Eq
,PartialOrd
,Ord
andHash
traits.
v0.3.3 - 2020-07-28
Aligned
now implements theClone
,Default
,Debug
andDisplay
traits.Aligned
has been markedrepr(C)
v0.3.2 - 2019-11-26
Aligned<_, [T]>
now implements theIndex<RangeTo<usize>>
trait; slicing this value to end returns anAligned<_, [T]>
slice.
v0.3.1 - 2018-11-07
- Make deref work on Aligned<Ax, $DST>.
v0.3.0 - 2018-11-05
- [breaking-change] the alignment type parameter of
Aligned
must now be one of:A2
,A4
,A8
orA16
.
- [breaking-change] removed the
const-fn
feature. Const functions are now provided by default. This crate now requires Rust 1.31+ to build.
v0.2.0 - 2018-05-10
- [breaking-change]
const-fn
is no longer a default feature (i.e. a feature that's enabled by default). The consequence is that this crate now compiles on 1.27 (beta) by default, and opting intoconst-fn
requires nightly.
v0.1.2 - 2018-04-25
- an opt-out "const-fn" Cargo feature. Disabling this feature removes all
const
constructors and makes this crate compilable on stable.
v0.1.1 - 2017-05-30
- support for aligned slices
- Initial release