bluss
c110696a96
nodrop, nodrop-union: Mark deprecated
...
With the release of arrayvec 0.5, these crates are unused.
With the release of Rust 1.36 and MaybeUninit, these crates have no
purpose (but for older Rust releases).
2019-10-09 09:33:13 +02:00
bluss
813e9dde42
MAINT: Update readme files for nodrop crates
...
Fixes #107
2018-11-12 22:26:20 +01:00
bluss
08c20edbb0
nodrop 0.1.13
2018-11-12 22:22:53 +01:00
Igor Gnatenko
d281b3866d
include LICENSE to sub-crates
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com >
2017-12-03 21:23:58 +01:00
bluss
4fe3e05997
nodrop 0.1.12
2017-10-27 21:51:45 +02:00
bluss
7db0d5788f
FEAT: nodrop: No odds dependency
...
Copy the required unreachable and debug assertion; saves us dependency
on odds.
We could also depend on crate unreachable, but that adds dep on
2 microcrates.
2017-10-26 22:35:15 +02:00
bluss
269a25cc41
nodrop 0.1.11
2017-10-23 21:38:27 +02:00
bluss
4414a01a26
BUG: [nodrop] Fix broken test
...
Fix a broken size test in nodrop; this test does not tell us about enum
layout optimizations.
2017-10-23 21:02:32 +02:00
bluss
30d8e70d63
nodrop 0.1.10
2017-10-16 22:25:18 +02:00
bluss
545ae6e609
FEAT: Update nodrop for stable needs_drop
2017-10-16 22:17:02 +02:00
bluss
805f28f0d7
nodrop 0.1.9
2017-02-23 20:34:49 +01:00
bluss
34459766c2
Use u8 field in the NoDrop Dropped variant
...
We need to ensure NoDrop<&T> and similar are not using the enum layout
optimization. Using an enum { Alive(T), Dropped(u8) } is a simple way to
do that. The NoDrop (non-unions version) was already always at least
1 byte large anyway.
2017-02-23 20:19:11 +01:00
bluss
0327b0c164
nodrop: Fix warning for unused import
2016-09-06 19:20:14 +02:00
bluss
e9746bab80
nodrop and nodrop-union 0.1.8
2016-09-06 11:47:20 +02:00
bluss
57348a2677
nodrop: Add nightly feature use_union
...
Use a separate crate (nodrop-union) so that we can conditionally use the
new union keyword without disrupting compatibility.
2016-09-06 11:41:47 +02:00
bluss
5df5ee1847
nodrop: 0.1.7
2016-08-25 18:07:02 +02:00
bluss
af8f6b5d6e
nodrop: Remove the no_drop_flag crate feature
...
This unstable feature is not supported in nightly anymore (and nor is it
meaningful).
2016-08-25 16:21:57 +02:00
bluss
e7ce808b37
Bump nodrop to 0.1.6 and no_std enable
2016-02-06 19:51:23 +01:00
bluss
98a2dc52b1
nodrop: Update to use newer odds
2016-02-06 19:48:20 +01:00
bluss
6ab78bbe6c
nodrop: Add std as default feature to enable libstd
2016-02-06 19:30:42 +01:00
Jonathan S
7f21c9d79f
Support no_std in nodrop
2016-02-05 19:59:38 -06:00
bluss
2d55a2d507
nodrop: Add feature flag use_needs_drop; Tag version 0.1.5
2015-12-14 04:21:44 +01:00
root
221bfd9aa0
nodrop: Use newer odds & Bump version
2015-06-14 14:52:48 +02:00
root
7c92874782
nodrop: Use odds & bump version
2015-06-02 17:28:04 +02:00
root
48fdc7e651
nodrop: Bump version
2015-05-26 17:10:02 +02:00
root
09cf5168f9
nodrop: Add no_drop_flag optional feature
2015-05-26 17:05:42 +02:00
root
6d02ab3980
Test that Option<Flag<T>> doesn't apply any layout optimization
2015-05-24 23:53:02 +02:00
root
b4413e95b9
Bump nodrop version
2015-05-22 14:25:21 +02:00
root
00466e6efd
Simplify drop test (Rc is redundant)
2015-05-21 16:04:38 +02:00
root
14550015d9
nodrop: Small improvement of into_inner
2015-05-21 16:04:11 +02:00
root
c146002c83
Split out nodrop::NoDrop to its own crate
2015-05-21 11:53:05 +02:00