Lokathor
094f76ad73
Closes https://github.com/Lokathor/bytemuck/issues/39
...
On older compilers, you need to say `extern crate proc_macro;` even in 2018 edition. Since it doesn't hurt in newer compilers, we'll just do that.
2020-10-21 14:21:43 -06:00
Lokathor
00cbef6b83
Create changelog.md
2020-10-21 14:19:13 -06:00
Yanchi Toth
b264926ac0
Emit padding-asserting code that doesn't trigger clippy::identity_op ( #45 )
2020-10-21 14:11:30 -06:00
Lokathor
c171ac4f5b
(cargo-release) start next development iteration 1.0.1-alpha.0
2020-08-27 21:34:05 -06:00
Lokathor
9aedc156a8
(cargo-release) version 1.0.0
2020-08-27 21:33:46 -06:00
Lokathor
a6418a963d
clarify versions.
2020-08-27 21:27:48 -06:00
Lucien Greathouse
19e61623d7
Blame struct name, better error for padding ( #35 )
2020-08-23 20:12:47 -06:00
Lokathor
e053f8b456
Merge branch 'main' of https://github.com/Lokathor/bytemuck into main
2020-08-22 06:48:30 -06:00
Robin Appelman
24b71e078f
add derive macro for Contiguous ( #31 )
2020-08-21 16:08:34 -06:00
Lokathor
e202fa2756
(cargo-release) version 1.0.0-alpha.3
2020-08-21 15:27:04 -06:00
Lucien Greathouse
550dc3396c
Fix Pod derive to use explicit absolute path to 'core' ( #32 )
2020-08-21 15:13:55 -06:00
Lokathor
ef32c088a2
docs typo
2020-08-20 20:28:54 -06:00
Lokathor
14fa8650f0
(cargo-release) version 1.0.0-alpha.2
2020-08-20 19:46:44 -06:00
Lokathor
d88235518f
bytemuck_derive: readme
2020-08-20 19:46:22 -06:00
Lokathor
044c1c3057
(cargo-release) version 1.0.0-alpha.1
2020-08-20 19:41:51 -06:00
Lokathor
87e48ba1d9
ready bytemuck_derive for an alpha publish.
2020-08-20 19:37:56 -06:00
Lokathor
a64f697cd5
give the derives crate a better description.
2020-08-20 19:05:59 -06:00
Robin Appelman
cf944452b7
add basic derive macro for Pod, Zeroable and TransparentWrapper for structs ( #30 )
...
* add basic derive macro for Pod and Zeroable for structs
* add derive macro for TransparentWrapper
* use core::mem::size_of instead of std::mem::size_of in generated code
* cleanup error handling a bit
* remove unneeded iter logic
* remove unneeded clone and order impl
* fix generics
* fix doc typo
Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
* remove unneeded lifetime anotation
* use unreachable for already rejected patch
Co-authored-by: Lucien Greathouse <me@lpghatguy.com>
2020-08-20 19:04:36 -06:00