Cargo Features
[dependencies]
futures-cputask = { version = "0.3.0", default-features = false, features = ["derive", "threadpool", "uvth"] }
- default = uvth
-
The
uvth
feature is set by default wheneverfutures-cputask
is added without
somewhere in the dependency tree.default-features = false - derive = futures-cputask-derive
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.
- threadpool implicit feature
-
Enables threadpool
threadpool:
A thread pool for running a number of jobs on a fixed set of worker threads
Affects
futures-cputask::run_task
… - uvth default
-
Affects
futures-cputask::run_task
… - futures-cputask-derive derive?