Cargo Features
[dependencies]
yaks = { version = "0.1.0", default-features = false, features = ["parallel", "test"] }
- default = parallel
-
The
parallel
feature is set by default wheneveryaks
is added without
somewhere in the dependency tree.default-features = false - parallel default = crossbeam-channel, fixedbitset, rayon
-
If disabled, forces everything to work on a single thread.
Affects
contains::Contains.set_resource_bit
,executor_builder::System.resource_set
,executor_builder::System.component_type_set
,executor_builder::System.archetype_writer
,fetch::Fetch.set_resource_bits
,query_bundle::QueryExt.insert_component_types
,query_bundle::QueryExt.set_archetype_bits
,query_bundle::QueryBundle.insert_component_types
,query_bundle::QueryBundle.set_archetype_bits
… - test
-
Turns off an internal debug drop check. Useful for testing panics.
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.