Cargo Features
[dependencies]
asparit = { version = "0.1.0", default-features = false, features = ["default-executor", "rayon-executor", "sequential-executor", "tokio-executor"] }
- default = sequential-executor
-
The
sequential-executor
feature is set by default wheneverasparit
is added without
somewhere in the dependency tree.default-features = false - default-executor rayon-executor? sequential-executor tokio-executor?
-
Affects
driver::Driver.exec
… - rayon-executor = default-executor, rayon-core
-
Affects
executor::DefaultExecutor
… - sequential-executor default = default-executor
-
Affects
executor::DefaultExecutor
… - tokio-executor = default-executor, futures, num_cpus, tokio
-
Affects
executor::DefaultExecutor
…
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.