Cargo Features
[dependencies]
cynthia = { version = "0.0.6", default-features = false, features = ["std", "alloc", "full", "macros"] }
- default = macros, pin-project-lite, std
-
These default features are set whenever
cynthia
is added without
somewhere in the dependency tree.default-features = false Affects
utils::abort_on_panic
… - std default = alloc, futures-io
-
memchr:
The 'std' feature permits the memchr crate to use the standard library. This permits this crate to use runtime CPU feature detection to automatically accelerate searching via vector instructions. Without the standard library,
this automatic detection is not possible.Affects
block_on::block_on
,future::race
,future::FutureExt.race
,future::FutureExt.catch_unwind
,future::swap
,stream::block_on
,stream::StreamExt.race
,stream::race
,runnable::spawn_local
… - alloc std = pin-project-lite
-
Enables alloc of futures-core
Affects
future::Boxed
,future::BoxedLocal
,future::FutureExt.boxed
,future::FutureExt.boxed_local
,stream::StreamExt.boxed
,stream::StreamExt.boxed_local
,stream::Boxed
,stream::BoxedLocal
,swap::AsyncReadExt.boxed_reader
,swap::AsyncWriteExt.boxed_writer
,swap::BoxedReader
,swap::BoxedWriter
… - full = macros
- macros default full? = cynthia-macros
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.
- cynthia-macros macros
- futures-io std
- pin-project-lite default alloc?