Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 # Changelog
2 All notable changes to this project will be documented in this file.
3
4 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html),
6 specifically the [variant used by Rust](http://doc.crates.io/manifest.html#the-version-field).
7
8 ## [1.2.2] - 2022-10-28
9 ### Changed
10 - Fix a couple of clippy warnings in the tests.
11
12 ## [1.2.1] - 2022-02-25
13 ### Changed
14 - Make trait methods `#[inline]`. This allows the compiler to make the call a
15 no-op in many cases.
16
17 ## [1.2.0] - 2021-10-19
18 ### Added
19 - Trait impls for converting between `&[[T; N]]` and `&[u8]` for specific `T`.
20
21 ## [1.1.0] - 2021-09-16
22 ### Added
23 - `ToByteSlice` and `ToMutByteSlice` impl for `&[()]`. This always produces an
24 empty byte slice.
25
26 ## [1.0.0] - 2020-10-13
27 ### Removed
28 - Support for casting between `Vec<T>` and `Vec<u8>`. This was actually
29 unsound as the alloc trait requires that memory is deallocated with exactly
30 the same alignment as it was allocated with.
31
32 ### Fixed
33 - `usize` tests on 16/32 bit architectures.
34
35 ### Changed
36 - Various documentation improvements.
37
38 ## [0.3.5] - 2019-12-22
39 ### Changed
40 - Improve documentation and examples
41
42 ### Fixed
43 - Fix running of tests on 16/32 bit architectures
44
45 ## [0.3.4] - 2019-11-11
46 ### Added
47 - Support for casting between `Vec<T>` and `Vec<u8>`
48
49 ## [0.3.3] - 2019-11-02
50 ### Added
51 - Support for `usize` and `isize`
52
53 ## [0.3.2] - 2019-07-26
54 ### Changed
55 - Add `no_std` support
56 - Migrate to 2018 edition
57
58 ## [0.3.1] - 2019-06-05
59 ### Fixed
60 - Casting of empty slices works correctly now instead of failing with an
61 alignment mismatch error.
62
63 ## [0.3.0] - 2019-05-11
64 ### Added
65 - The `Error` type now implements `Clone`.
66
67 ### Changed
68 - `AsByteSlice::as_byte_slice` and `ToByteSlice::to_byte_slice` were changed
69 to always return `&[u8]` instead of `Result<&[u8], Error>`.
70 - `AsMutByteSlice::as_mut_byte_slice` and `ToMutByteSlice::to_mut_byte_slice`
71 were changed to always return `&mut [u8]` instead of `Result<&mut [u8],
72 Error>`.
73 - The `Display` impl for `Error` now produces more detailed error messages.
74 - The variants of the `Error` enum were renamed.
75
76 ## [0.2.0] - 2018-06-01
77 ### Changed
78 - Major refactoring of how the traits work. It is now possible to work
79 directly on `AsRef<[T]>` and `AsMut<[T]>`, e.g. on `Vec<T>` and `Box<[T]>`.
80
81 ### Added
82 - Trait impls for i128 and u128.
83
84 ## [0.1.0] - 2017-08-14
85 - Initial release of the `byte-slice-cast` crate.
86
87 [Unreleased]: https://github.com/sdroege/byte-slice-cast/compare/1.2.0...HEAD
88 [1.2.0]: https://github.com/sdroege/byte-slice-cast/compare/1.1.0...1.2.0
89 [1.1.0]: https://github.com/sdroege/byte-slice-cast/compare/1.0.0...1.1.0
90 [1.0.0]: https://github.com/sdroege/byte-slice-cast/compare/0.3.5...1.0.0
91 [0.3.5]: https://github.com/sdroege/byte-slice-cast/compare/0.3.4...0.3.5
92 [0.3.4]: https://github.com/sdroege/byte-slice-cast/compare/0.3.3...0.3.4
93 [0.3.3]: https://github.com/sdroege/byte-slice-cast/compare/0.3.2...0.3.3
94 [0.3.2]: https://github.com/sdroege/byte-slice-cast/compare/0.3.1...0.3.2
95 [0.3.1]: https://github.com/sdroege/byte-slice-cast/compare/0.3.0...0.3.1
96 [0.3.0]: https://github.com/sdroege/byte-slice-cast/compare/0.2.0...0.3.0
97 [0.2.0]: https://github.com/sdroege/byte-slice-cast/compare/0.1.0...0.2.0