Cargo Features
[dependencies]
legion = { version = "0.4.0", default-features = false, features = ["parallel", "extended-tuple-impls", "serialize", "crossbeam-events", "codegen", "stdweb", "wasm-bindgen"] }
- default = codegen, crossbeam-events, parallel, serialize
-
These default features are set whenever
legion
is added without
somewhere in the dependency tree.default-features = false - parallel default = rayon
-
Affects
indexed::par_iter
,query::par_iter
… - extended-tuple-impls
- serialize default = erased-serde, scoped-tls-hkt, serde
-
Affects
internals::serialize
,legion::serialize
… - crossbeam-events default = crossbeam-channel
- codegen default = legion_codegen
- stdweb
- wasm-bindgen
-
Enables wasm-bindgen of uuid ^0.8
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.