Cargo Features
[dependencies]
microcrates-bytes = { version = "0.4.8", default-features = false, features = ["std", "alloc", "nightly", "serde"] }
- default = nightly
-
The
nightly
feature is set by default whenevermicrocrates-bytes
is added without
somewhere in the dependency tree.default-features = false - std = alloc, iovec
-
Affects
buf::Buf.bytes_vec
,buf_mut::BufMut.bytes_vec_mut
… - alloc nightly std?
-
Affects
buf::Buf.collect
… - nightly default = alloc
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.