NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1561 most downloaded on crates.io
A newtype with alignment of at least `A` bytes
Last release 9 months ago
15 Dec 2025
Ships fairly regularly
a new release about every 11 months
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
14 releases · first in 2017
Support indexing with most core::Range* types.
core::ops::Range* types.rel prep
rel prep (#20)
A1 typeAlignment trait public, but unimplementableBorrow/BorrowMut trait implsOne column per quarter.
Aligned implements Copy if T implements Copy
Aligned<A, T> implements Copy if T implements Copyas-slice dependency bumped to 0.2.0
as-slice dependency bumped to 0.2.0AsSlice and AsMutSlice traits (as-slice crate)- added A32 and A64 types
A32 and A64 typesAligned now implements the PartialEq, Eq, PartialOrd, Ord and Hash traits.
Aligned now implements the PartialEq, Eq, PartialOrd, Ord and Hash traits.Aligned now implements the Clone, Default, Debug and Display traits.
Aligned now implements the Clone, Default, Debug and Display traits.Aligned has been marked repr(C)Aligned<_, [T]> now implements the Index > trait; slicing this value to end returns an Aligned<_, [T]> slice.
Aligned<_, [T]> now implements the Index<RangeTo<usize>> trait; slicing
this value to end returns an Aligned<_, [T]> slice.### Changed - Make deref work on Aligned .
[breaking-change] the alignment type parameter of Aligned must now be one of: A2, A4, A8 or A16.
Aligned must now be one
of: A2, A4, A8 or A16.const-fn feature. Const functions are now
provided by default. This crate now requires Rust 1.31+ to build.[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
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
into const-fn requires nightly.an opt-out "const-fn" Cargo feature. Disabling this feature removes all const constructors and makes this crate compilable on stable.
const constructors and
makes this crate compilable on stable.### Added - support for aligned slices
[Unreleased]: https://github.com/japaric/aligned/compare/v0.4.1...HEAD [v0.4.1]: https://github.com/japaric/aligned/compare/v0.4.0...v0.4.1 [v0.4.0]:
Your coding agent can read these notes before it upgrades. Set up the MCP server →