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.
This commit is contained in:
bluss
2016-09-06 11:21:40 +02:00
parent ddd09cf04d
commit 57348a2677
5 changed files with 287 additions and 109 deletions
+13
View File
@@ -0,0 +1,13 @@
[package]
name = "nodrop-union"
version = "0.1.8"
authors = ["bluss"]
license = "MIT/Apache-2.0"
description = "A wrapper type to inhibit drop (destructor). Implementation crate for nodrop, the untagged unions implementation (which is unstable / requires nightly) as of this writing."
documentation = "http://bluss.github.io/arrayvec/doc/nodrop"
repository = "https://github.com/bluss/arrayvec"
keywords = ["container", "drop", "no_std"]