Commit Graph

252 Commits

Author SHA1 Message Date
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
Lokathor
f3bffd9da2 (cargo-release) start next development iteration 0.1.1-alpha.0 2019-09-22 13:07:59 -06:00
Lokathor
7603a0f01d
Merge pull request #1 from Lokathor/phase1
Phase1
2019-09-22 13:07:03 -06:00
Lokathor
55a4eef7b6 improve the ZST case 2019-09-21 17:39:37 -06:00
Lokathor
72d3ae2419 clarify when allocation related operations are available. 2019-09-21 17:33:36 -06:00
Lokathor
dad138dba3
guard against zero sized types with an error
We could update this to just not allocate in the future but I don't believe that the docs give us assurances in that area.
2019-09-20 13:05:09 -06:00
Lokathor
6fea4bfa58
make the deref explicit 2019-09-20 11:40:44 -06:00
Lokathor
40cb0d19c3
comments 2019-09-20 11:12:40 -06:00
Lokathor
d4fde53386
Update src/zeroable.rs
Co-Authored-By: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
2019-09-20 11:10:01 -06:00
Lokathor
ca902ff52d
mention repr(packed) 2019-09-20 11:09:33 -06:00
Lokathor
28603a3198
gotta mask that unsafe 2019-09-20 11:08:40 -06:00
Lokathor
cc0a6aa751
use a result 2019-09-20 11:06:50 -06:00
Lokathor
973ec91f79
typo, remove old imports 2019-09-20 11:05:33 -06:00
Lokathor
8cdf598be4 formatting 2019-09-20 09:10:03 -06:00
Lokathor
876da036e4 zeroed out boxes 2019-09-20 09:01:23 -06:00
Lokathor
427893ab9b same fix for as_mut 2019-09-20 08:20:18 -06:00
Lokathor
c7e124e641 Remove Arc and Rc support, they've got repr(rust) internals. 2019-09-20 00:52:55 -06:00
Lokathor
2b8ef93dee simplify reborrow 2019-09-20 00:32:35 -06:00
Lokathor
22e1b7a6f6 ralith says to slim down the error 2019-09-19 23:11:06 -06:00
Lokathor
372ad15af9 commentary fix 2019-09-19 22:53:35 -06:00
Lokathor
7584fb2d19 Update lib.rs 2019-09-19 22:19:38 -06:00
Lokathor
a1b7c21a65 Update allocation.rs 2019-09-19 22:15:17 -06:00
Lokathor
25e545f643 Merge branch 'master' into phase1 2019-09-19 22:12:52 -06:00
Lokathor
7bdd90d9fe stupid windows 2019-09-19 22:12:32 -06:00
Lokathor
0bae2db1b8 no_std + alloc 2019-09-19 22:11:25 -06:00
Lokathor
a45102007c more 2019-09-19 21:35:09 -06:00
Lokathor
70da6d7a77 zeroable 2019-09-19 19:23:24 -06:00