Commit Graph

178 Commits

Author SHA1 Message Date
Lokathor
d8173e3335 (cargo-release) version 1.2.0-alpha.1 2020-01-29 01:19:24 -07:00
Lokathor
34284ba9e5 version spike 2020-01-29 01:19:19 -07:00
Lokathor
6feac18319
Merge pull request #15 from thomcc/transparent
Add TransparentWrapper marker trait
2020-01-29 01:16:21 -07:00
Lokathor
f5d5523f77 Pod safety documentation change
The previous requirements were incorrect because I misunderstood how `repr(packed)` actually means `repr(Rust, packed)` rather than `repr(C, packed)` as I first assumed.
Closes https://github.com/Lokathor/bytemuck/issues/14
2020-01-29 01:08:14 -07:00
Thom Chiovoloni
e415a28966 Duplicate the doctests for the sake of miri 2020-01-11 08:01:58 -08:00
Thom Chiovoloni
f62e320bba Rework TransparentWrapper to not require that the wrapped type be public 2020-01-11 07:31:17 -08:00
Thom Chiovoloni
c383083c16 Add TransparentWrapper marker trait 2020-01-11 06:28:11 -08:00
Lokathor
481c6879ec
Merge pull request #16 from thomcc/miri
Run miri in CI
2020-01-10 20:49:02 -07:00
Thom Chiovoloni
ff3c0c7a50 Try to run miri in CI 2020-01-10 11:50:56 -08:00
Lokathor
da1ba1ec80
Merge pull request #12 from thomcc/contiguous
Add Contiguous trait
2019-12-29 22:02:55 -07:00
Thom Chiovoloni
d9ca3306dd Add Contiguous trait 2019-12-11 19:04:23 -08:00
Lokathor
7bc1de06da
Merge pull request #10 from thomcc/offset_of
Add a fully sound (no unsafe) offset_of macro
2019-12-10 13:24:30 -07:00
Thom Chiovoloni
ac3133170a Add a sound offset_of macro 2019-12-10 08:40:14 -08:00
Lokathor
23f19609ab (cargo-release) start next development iteration 1.1.1-alpha.0 2019-12-06 12:42:21 -07:00
Lokathor
6d44eadbd2 (cargo-release) version 1.1.0 2019-12-06 12:42:16 -07:00
Lokathor
8055dbc5b3 Update changelog.md 2019-12-06 12:41:48 -07:00
Lokathor
93dade1ab1 documentation consistency 2019-12-06 12:31:51 -07:00
Lokathor
b8a97c6528 Update README.md 2019-12-06 11:58:38 -07:00
Lokathor
f7c7285cd8
Merge pull request #8 from SimonSapin/from_bytes
Add from_bytes, from_bytes_mut, try_from_bytes, try_from_bytes_mut
2019-12-06 11:46:53 -07:00
Simon Sapin
6e54fc51fb Add from_bytes, from_bytes_mut, try_from_bytes, try_from_bytes_mut
This can be useful when receiving a bytes buffer from I/O
2019-12-06 13:23:08 +01:00
Lokathor
c83aa67f4a (cargo-release) start next development iteration 1.0.2-alpha.0 2019-11-26 14:36:43 -07:00
Lokathor
f44e0cde32 (cargo-release) version 1.0.1 2019-11-26 14:36:39 -07:00
Lokathor
0628dab084
Merge pull request #6 from Lokathor/v1.0.1-updates
V1.0.1 updates
2019-11-26 14:34:44 -07:00
Lokathor
3127768af5 Update .travis.yml 2019-11-25 20:32:56 -07:00
Lokathor
b770a7b81c Create changelog.md 2019-11-25 20:32:13 -07:00
Lokathor
de517daffa MaybeUninit has to wait for later. 2019-11-25 19:21:38 -07:00
Lokathor
37380f8867 1.34 needed for NonZeroI32 and friends 2019-11-25 19:17:41 -07:00
Lokathor
389e4e5a27 CI fixy stuff so that we can built on 1.31 (hopefully) 2019-11-25 19:15:11 -07:00
Lokathor
c4f25466fa Update README.md 2019-11-25 19:11:00 -07:00
Lokathor
91aeef0b45 much more docs. 2019-11-25 19:09:26 -07:00
Lokathor
1ab1c006cd attempt to downgrade to 1.31 2019-11-25 18:46:42 -07:00
Lokathor
af499f4c7c Remove .cast method usage and rustfmt 2019-11-25 18:46:23 -07:00
Lokathor
02cd7c1ba5 License change to an equally permissive OSI license 2019-11-25 18:45:54 -07:00
Lokathor
33b64ac430 (cargo-release) start next development iteration 1.0.1-alpha.0 2019-11-18 21:10:44 -07:00
Lokathor
1bd6144acf (cargo-release) version 1.0.0 2019-11-18 21:10:39 -07:00
Lokathor
efc80f1c4d Update allocation.rs 2019-11-18 20:39:07 -07:00
Lokathor
c03199ed0d (cargo-release) start next development iteration 0.1.3-alpha.0 2019-11-10 23:42:52 -07:00
Lokathor
b0fc42a1cd (cargo-release) version 0.1.2 2019-11-10 23:41:50 -07:00
Lokathor
fba68534dc more trait! 2019-11-10 23:41:41 -07:00
Lokathor
239aec4a07 Update .travis.yml 2019-11-04 19:26:47 -07:00
Lokathor
f9edd7a54a (cargo-release) start next development iteration 0.1.2-alpha.0 2019-11-04 19:13:50 -07:00
Lokathor
28abb7f2c1 (cargo-release) version 0.1.1 2019-11-04 19:13:16 -07:00
Lokathor
3fd763c764 Fix a Miri failure 2019-11-04 19:12:59 -07:00
Lokathor
79143a6295 cargo fmt is a strict one 2019-11-03 23:55:51 -07:00
Lokathor
af3f4404df document the failure case
Closes https://github.com/Lokathor/bytemuck/issues/3
2019-11-03 23:45:38 -07:00
Lokathor
911224f7a0 relicense
Closes https://github.com/Lokathor/bytemuck/issues/2
2019-11-03 23:43:15 -07:00
Lokathor
15bbbb29fd docs 2019-11-03 23:39:06 -07:00
Lokathor
0e3948b8b8
Update cast_slice_tests.rs 2019-11-01 10:39:32 -06:00
Lokathor
b199fad411 Create cast_slice_tests.rs 2019-10-26 04:22:15 -06:00
Lokathor
24ad0df209 Update zeroable.rs 2019-10-05 19:26:47 -06:00