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
Lokathor
2725633356
(cargo-release) version 1.2.0
2020-02-06 20:44:50 -07:00
Lokathor
364b6fe075
changelog update
2020-02-06 20:44:33 -07:00
Lokathor
6ad44e459f
Merge pull request #20 from Lokathor/speedup
...
eliminate some dead branches
2020-02-06 19:51:58 -07:00
Lokathor
fa686336e7
factor the panic to one spot.
2020-02-06 19:38:05 -07:00
Lokathor
cd8ed37eae
Remove the unreachable_unchecked
2020-02-06 19:18:10 -07:00
Lokathor
326c78d127
formatting
2020-02-04 00:20:12 -07:00
Lokathor
c0c3b38025
eliminate some dead branches
2020-02-04 00:18:22 -07:00
Lokathor
d37861c3d0
Update README.md
2020-01-29 01:57:45 -07:00
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