| 1 |
# Change Log |
| 2 |
|
| 3 |
All notable changes to this project will be documented in this file. |
| 4 |
This project adheres to [Semantic Versioning](http://semver.org/). |
| 5 |
|
| 6 |
## [v0.4.3] - 2025-12-14 |
| 7 |
|
| 8 |
### Added |
| 9 |
|
| 10 |
- Support indexing with most `core::ops::Range*` types. |
| 11 |
|
| 12 |
### Changed |
| 13 |
|
| 14 |
### Removed |
| 15 |
|
| 16 |
## [v0.4.2] - 2024-03-24 |
| 17 |
|
| 18 |
### Added |
| 19 |
|
| 20 |
- Add `A1` type |
| 21 |
- Make the `Alignment` trait public, but unimplementable |
| 22 |
- Add some `Borrow`/`BorrowMut` trait impls |
| 23 |
|
| 24 |
### Changed |
| 25 |
|
| 26 |
### Removed |
| 27 |
|
| 28 |
## [v0.4.1] - 2022-05-30 |
| 29 |
|
| 30 |
### Added |
| 31 |
|
| 32 |
- `Aligned<A, T>` implements `Copy` if `T` implements `Copy` |
| 33 |
|
| 34 |
## [v0.4.0] - 2021-07-24 |
| 35 |
|
| 36 |
### Changed |
| 37 |
|
| 38 |
- `as-slice` dependency bumped to 0.2.0 |
| 39 |
|
| 40 |
### Removed |
| 41 |
|
| 42 |
- [breaking-change] removed compatibility withe version 0.1.0 of `AsSlice` and `AsMutSlice` traits (`as-slice` crate) |
| 43 |
|
| 44 |
## [v0.3.5] - 2021-07-17 |
| 45 |
|
| 46 |
- added `A32` and `A64` types |
| 47 |
|
| 48 |
## [v0.3.4] - 2020-07-31 |
| 49 |
|
| 50 |
### Added |
| 51 |
|
| 52 |
- `Aligned` now implements the `PartialEq`, `Eq`, `PartialOrd`, `Ord` and `Hash` traits. |
| 53 |
|
| 54 |
## [v0.3.3] - 2020-07-28 |
| 55 |
|
| 56 |
### Added |
| 57 |
|
| 58 |
- `Aligned` now implements the `Clone`, `Default`, `Debug` and `Display` traits. |
| 59 |
- `Aligned` has been marked `repr(C)` |
| 60 |
|
| 61 |
## [v0.3.2] - 2019-11-26 |
| 62 |
|
| 63 |
### Added |
| 64 |
|
| 65 |
- `Aligned<_, [T]>` now implements the `Index<RangeTo<usize>>` trait; slicing |
| 66 |
this value to end returns an `Aligned<_, [T]>` slice. |
| 67 |
|
| 68 |
## [v0.3.1] - 2018-11-07 |
| 69 |
|
| 70 |
### Changed |
| 71 |
|
| 72 |
- Make deref work on Aligned<Ax, $DST>. |
| 73 |
|
| 74 |
## [v0.3.0] - 2018-11-05 |
| 75 |
|
| 76 |
### Changed |
| 77 |
|
| 78 |
- [breaking-change] the alignment type parameter of `Aligned` must now be one |
| 79 |
of: `A2`, `A4`, `A8` or `A16`. |
| 80 |
|
| 81 |
### Removed |
| 82 |
|
| 83 |
- [breaking-change] removed the `const-fn` feature. Const functions are now |
| 84 |
provided by default. This crate now requires Rust 1.31+ to build. |
| 85 |
|
| 86 |
## [v0.2.0] - 2018-05-10 |
| 87 |
|
| 88 |
### Changed |
| 89 |
|
| 90 |
- [breaking-change] `const-fn` is no longer a default feature (i.e. a feature that's enabled by |
| 91 |
default). The consequence is that this crate now compiles on 1.27 (beta) by default, and opting |
| 92 |
into `const-fn` requires nightly. |
| 93 |
|
| 94 |
## [v0.1.2] - 2018-04-25 |
| 95 |
|
| 96 |
### Added |
| 97 |
|
| 98 |
- an opt-out "const-fn" Cargo feature. Disabling this feature removes all `const` constructors and |
| 99 |
makes this crate compilable on stable. |
| 100 |
|
| 101 |
## [v0.1.1] - 2017-05-30 |
| 102 |
|
| 103 |
### Added |
| 104 |
|
| 105 |
- support for aligned slices |
| 106 |
|
| 107 |
## v0.1.0 - 2017-05-29 |
| 108 |
|
| 109 |
- Initial release |
| 110 |
|
| 111 |
[Unreleased]: https://github.com/japaric/aligned/compare/v0.4.1...HEAD |
| 112 |
[v0.4.1]: https://github.com/japaric/aligned/compare/v0.4.0...v0.4.1 |
| 113 |
[v0.4.0]: https://github.com/japaric/aligned/compare/v0.3.5...v0.4.0 |
| 114 |
[v0.3.5]: https://github.com/japaric/aligned/compare/v0.3.4...v0.3.5 |
| 115 |
[v0.3.4]: https://github.com/japaric/aligned/compare/v0.3.3...v0.3.4 |
| 116 |
[v0.3.3]: https://github.com/japaric/aligned/compare/v0.3.2...v0.3.3 |
| 117 |
[v0.3.2]: https://github.com/japaric/aligned/compare/v0.3.1...v0.3.2 |
| 118 |
[v0.3.1]: https://github.com/japaric/aligned/compare/v0.3.0...v0.3.1 |
| 119 |
[v0.3.0]: https://github.com/japaric/aligned/compare/v0.2.0...v0.3.0 |
| 120 |
[v0.2.0]: https://github.com/japaric/aligned/compare/v0.1.2...v0.2.0 |
| 121 |
[v0.1.2]: https://github.com/japaric/aligned/compare/v0.1.1...v0.1.2 |
| 122 |
[v0.1.1]: https://github.com/japaric/aligned/compare/v0.1.0...v0.1.1 |