Update features to reflect merge of alloc and collections crates.
This commit is contained in:
parent
4f6f6d7610
commit
94e3109ab0
|
@ -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"]
|
||||
|
|
|
@ -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`
|
||||
|
||||
|
|
Loading…
Reference in New Issue