Support generic-array as arrayvec backend

This commit is contained in:
bluss
2016-09-26 15:42:02 +02:00
parent 82ab295554
commit 60a97632bc
5 changed files with 63 additions and 1 deletions
+5
View File
@@ -19,7 +19,12 @@ version = "0.1.8"
path = "nodrop"
default-features = false
[dependencies.generic-array]
version = "0.5.1"
optional = true
[features]
default = ["std"]
std = ["odds/std", "nodrop/std"]
use_union = ["nodrop/use_union"]
use_generic_array = ["generic-array"]