Cargo Features

[dependencies]
yaks = { version = "0.1.0", default-features = false, features = ["parallel", "test"] }
default = parallel

The parallel feature is set by default whenever yaks is added without default-features = false somewhere in the dependency tree.

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.

crossbeam-channel parallel

Enables crossbeam-channel ^0.4.2

fixedbitset parallel

Enables fixedbitset ^0.3.0

rayon parallel