Update features to reflect merge of alloc and collections crates.

This commit is contained in:
whitequark 2017-09-22 19:54:47 +00:00
parent 4f6f6d7610
commit 94e3109ab0
2 changed files with 2 additions and 8 deletions

View File

@ -13,7 +13,7 @@ license = "0BSD"
[dependencies]
byteorder = { version = "1.0", default-features = false }
managed = { version = "0.3.0", default-features = false }
managed = { version = "0.4.0", default-features = false }
log = { version = "0.3", default-features = false, optional = true }
libc = { version = "0.2.18", optional = true }
@ -25,7 +25,6 @@ getopts = "0.2"
[features]
std = ["managed/std"]
alloc = ["managed/alloc"]
collections = ["alloc", "managed/collections"]
verbose = []
raw_socket = ["libc"]
tap_interface = ["libc"]

View File

@ -104,12 +104,7 @@ These features are enabled by default.
### Feature `alloc`
The `alloc` feature enables use of objects owned by the networking stack through a dependency
on `alloc::boxed::Box`. This only works on nightly rustc.
### Feature `collections`
The `collections` feature enables use of slices owned by the networking stack through a dependency
on `collections::vec::Vec`. This only works on nightly rustc.
on collections from the `alloc` crate. This only works on nightly rustc.
### Feature `log`