• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2## `bytemuck_derive` changelog
3
4## 1.5.0
5
6* The `Zeroable` derive now allows custom bounds. See the rustdoc for an explanation.
7
8## 1.4.1
9
10* Move the `syn` dependency to use version 2.
11  This should not affect the public API in any way.
12
13## 1.4.0
14
15* `ByteEq` and `ByteHash` derives will make `Eq` and `Hash` impls that treat the
16  value as a `&[u8]` during equality checks and hashing. This provides a large
17  codegen improvement for some types.
18* Derives of `repr(int)` enums should now accept byte literal values as the
19  discriminant.
20
21## 1.3.0
22
23* Allow `repr(transparent)` to be used generically in `derive(Pod)`.
24
25## 1.2.1
26
27* Fixed a regression of the `align(N)` attribute that occurred during otherwise
28  routine cleanup.
29
30## 1.2.0
31
32* Apparently our minimum required version of `syn` went up without anyone
33  noticing for a while. Because of a bump in our `syn` requirements, we're also
34  issuing this minor version bump in the `bytemuck_derive` crate. Because it's
35  possible to *reduce* the minimum required version of a dep in only a patch
36  release, I'm going to ratchet the required version of `syn` all the way up to
37  "current" (1.0.99). If absolutely necessary we could probably reduce the
38  minimum `syn` version again in a patch release for 1.2, but I don't want to
39  play this dance too much so I'd rather make each jump as big as can possibly
40  be. [Issue 122](https://github.com/Lokathor/bytemuck/issues/122). **Note:**
41  While the core `bytemuck` crate continues to keep building on rustc-1.34.0,
42  the `bytemuck_derive` crate is considered an opt-in bonus feature (which
43  doesn't do anything you couldn't trivially do yourself) and so it does not
44  support a specific MSRV.
45
46## 1.1.1
47
48* Adjusted the license files to use full files rather than symlinks.
49  [PR](https://github.com/Lokathor/bytemuck/pull/118)
50  The license is unchanged, just no more symlinks.
51
52## 1.1.0
53
54* Updated to work with `bytemuck-1.9.0`
55
56## 1.0.1
57
58* [yanchith](https://github.com/yanchith) fixed the derive checks code to make clippy more happy.
59[PR 45](https://github.com/Lokathor/bytemuck/pull/45)
60
61## 1.0.0
62
63* Initial stable release.
64