Cargo Features
[dependencies]
edge-executor = { version = "0.4.1", default-features = false, features = ["std", "critical-section", "portable-atomic", "unbounded"] }
- default = std
-
The
std
feature is set by default wheneveredge-executor
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of futures-lite ^1 and once_cell
once_cell:
Enables
once_cell::sync
module. - critical-section
-
Enables critical-section of once_cell and optional portable-atomic
once_cell:
Uses
critical-section
to implementsync
module. in#![no_std]
mode. Please readcritical-section
docs carefully before enabling this feature.portable-atomic
feature is enabled for backwards compatibility. - portable-atomic = heapless, portable-atomic-util
-
Enables portable-atomic and portable-atomic of async-task, atomic-waker, and optional heapless
heapless:
Enable polyfilling of atomics via
portable-atomic
.portable-atomic
polyfills some functionality by default, but to get full atomics you must enable one of its features to tell it how to do it. Seeportable-atomic
documentation for details. - unbounded
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.