Cargo Features
[dependencies]
completion = { version = "0.2.1", default-features = false, features = ["std", "alloc", "macro"] }
- default = macro, std
-
These default features are set whenever
completion
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, completion-io, memchr
-
Affects
future::CompletionFutureExt.catch_unwind
,completion::io
,stream::block_on
,stream::BlockOn
… - alloc std = aliasable
-
Affects
future::CompletionFutureExt.boxed
,future::CompletionFutureExt.boxed_local
,future::BoxCompletionFuture
,future::LocalBoxCompletionFuture
,stream::CompletionStreamExt.boxed
,stream::CompletionStreamExt.boxed_local
,stream::BoxCompletionStream
,stream::LocalBoxCompletionStream
… - macro default = completion-macro
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.