Commit Graph

386 Commits

Author SHA1 Message Date
Lokathor
5d7c6cacfe use pre-release in CI for now. 2020-08-20 19:49:23 -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
6356cf1d3a update gitignore for bytemuck_derive 2020-08-20 19:45:36 -06:00
Lokathor
044c1c3057 (cargo-release) version 1.0.0-alpha.1 2020-08-20 19:41:51 -06:00
Lokathor
571155fc5b update changelog 2020-08-20 19:40:38 -06:00
Lokathor
88c6f08213 next version adds a feature, so it's a minor bump. 2020-08-20 19:39:00 -06:00
Lokathor
87e48ba1d9 ready bytemuck_derive for an alpha publish. 2020-08-20 19:37:56 -06:00
Lokathor
453befa0c3 add new derive macros to CI. 2020-08-20 19:32:55 -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
Lokathor
94d71d9925 update changelog. 2020-08-19 21:45:09 -06:00
Lokathor
4d819357ba opt-in zeroable for maybe_unint 2020-08-19 21:43:44 -06:00
Lokathor
6414f14815 Use transmute_copy where appropriate. Format some docs. 2020-08-18 17:02:06 -06:00
Lokathor
d2e161bddd
Update rust.yml 2020-08-17 15:43:51 -06:00
Lokathor
4dc4b3ad28 Update rustfmt.toml 2020-08-09 14:59:43 -06:00
Lokathor
46939d28b7 (cargo-release) start next development iteration 1.3.2-alpha.0 2020-07-25 16:06:06 -06:00
Lokathor
07c5193565 (cargo-release) version 1.3.1 2020-07-25 16:05:55 -06:00
Lokathor
2f95820cea readme note 2020-07-25 16:03:30 -06:00
Lokathor
436abe3e89 convert to resize_with 2020-07-25 15:53:27 -06:00
Lokathor
a2baf0abb3 use the correct (weaker) trait bound. 2020-07-25 15:50:10 -06:00
Lokathor
9f29a253b2 CI badges out of Readme 2020-07-25 15:48:36 -06:00
Lokathor
c9f72f036e gotta have that .0 2020-07-25 15:46:52 -06:00
Lokathor
a1ef436bfa test new CI 2020-07-25 15:43:31 -06:00
Soveu
52be254e2c
zeroed_slice_box returns Result (#28)
It returns `Result<(), Box>` instead of `Box`
`cargo check` catched it
How did it pass CI?
2020-07-25 15:26:28 -06:00
Lokathor
d02404cb65
Update rust.yml 2020-07-25 15:26:01 -06:00
Lokathor
8a7d383ecc
Create rust.yml 2020-07-25 15:25:08 -06:00
Lokathor
bb2b95643e (cargo-release) version 1.3.0 2020-07-24 20:44:29 -06:00
Lokathor
d5047618de note error updates. 2020-07-24 20:43:32 -06:00
Lokathor
4f2a822cb6 Correct the error variant returned in some situations. 2020-07-24 20:41:57 -06:00
Lokathor
8b43015301 Merge branch 'main' of https://github.com/Lokathor/bytemuck into main 2020-07-24 20:37:13 -06:00
Lokathor
a52ed9f98a license to changelog. 2020-07-24 20:36:38 -06:00
Lokathor
6ab12a78aa changelog 2020-07-24 20:34:51 -06:00
Lokathor
51f1121d4f Add zeroed_slice_box 2020-07-24 20:34:32 -06:00
Lokathor
9ef3b89552
Update .travis.yml 2020-07-24 07:33:27 -06:00
Lokathor
4e06e7903b spelling. 2020-07-24 06:59:00 -06:00
Lokathor
51f3ee921c update changelog. 2020-07-24 06:58:37 -06:00
Lokathor
b531b050f3 Part of https://github.com/Lokathor/bytemuck/issues/21 2020-07-24 06:57:41 -06:00
Lokathor
1be7a90f16 Closes https://github.com/Lokathor/bytemuck/issues/22 2020-07-24 06:53:43 -06:00
Lokathor
2d41741f40
Merge pull request #24 from Lokathor/re-license
add additional license options
2020-07-24 06:41:48 -06:00
Lokathor
c507a6a8a7 add additional license options 2020-07-23 20:23:46 -06:00
Lokathor
3fc1e6ca4c Merge branch 'master' of https://github.com/Lokathor/bytemuck 2020-07-23 20:22:52 -06:00
Lokathor
ca164245cb update changelog. 2020-07-23 20:22:43 -06:00
Lokathor
c9a387a8da update offset_of to have 2-arg and 3-arg versions. 2020-07-23 20:21:09 -06:00
Lokathor
f9849c63c7 update changelog 2020-07-23 19:30:33 -06:00
Lokathor
93e9b53571
Merge pull request #17 from HeroicKatora/master
Add a method to allocate zeroed slices
2020-07-23 19:06:59 -06:00
Andreas Molzer
11e791c88a Add a method to allocate zeroed slices
Note that the method requires a Pod and not only a Zeroable structure
since only the latter guarantees that slices have a consistent layout.
We need to compute this layout to manually allocate it.
2020-07-23 22:10:49 +02:00
Lokathor
7899e02d5f
Merge pull request #23 from ignatenkobrain/patch-1
chore: Exclude unneeded files
2020-02-17 08:50:09 -07:00
Igor Gnatenko
83ee985942
chore: Exclude unneeded files 2020-02-17 11:01:13 +01:00
Lokathor
9fa2759bd2 (cargo-release) start next development iteration 1.2.1-alpha.0 2020-02-06 20:45:35 -07:00