Cargo Features
[dependencies]
unsend = { version = "0.2.1", default-features = false, features = ["std", "alloc", "executor"] }
- default = executor, std
-
These default features are set whenever
unsend
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Affects
executor::StdThreadId
… - alloc executor std
-
Affects
unsend::channel
,semaphore::SemaphoreGuardRc
… - executor default = alloc, async-task, atomic-waker, concurrent-queue, futures-lite, slab
-
Affects
unsend::executor
…
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.
async-task is a public dependency, the rest aren't