We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2549c2a commit 498d0f1Copy full SHA for 498d0f1
Cargo.toml
@@ -11,7 +11,6 @@ documentation = "http://doc.servo.org/smallvec/"
11
12
[features]
13
heapsizeof = ["heapsize", "std"]
14
-collections = []
15
std = []
16
default = ["std"]
17
lib.rs
@@ -7,14 +7,14 @@
7
//! locality and reducing allocator traffic for workloads that fit within the inline buffer.
8
9
#![cfg_attr(not(feature = "std"), no_std)]
10
-#![cfg_attr(not(feature = "std"), feature(collections))]
+#![cfg_attr(not(feature = "std"), feature(alloc))]
#[cfg(not(feature = "std"))]
-extern crate collections;
+extern crate alloc;
-use collections::Vec;
+use alloc::Vec;
18
19
#[cfg(feature="heapsizeof")]
20
extern crate heapsize;
0 commit comments