Cargo Features
[dependencies]
salva2d = { version = "0.9.0", default-features = false, features = ["dim2", "parallel", "sampling", "rapier", "rapier-testbed", "rapier-harness", "parry", "wasm-bindgen", "graphics"] }
- default = dim2
-
The
dim2
feature is set by default wheneversalva2d
is added without
somewhere in the dependency tree.default-features = false - dim2 default
-
Affects
salva2d::math
… - parallel = rayon
- sampling = rapier
-
Affects
salva2d::sampling
… - rapier rapier-testbed? sampling? = parry, rapier2d
-
Affects
integrations::rapier
… - rapier-testbed rapier-harness? = graphics, rapier, rapier_testbed2d
- rapier-harness = rapier-testbed
- parry rapier? = parry2d
- wasm-bindgen
-
Enables wasm-bindgen of rapier2d ^0.18
- graphics rapier-testbed? = bevy, bevy_egui
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.
- rayon parallel?
- parry2d parry?
-
Enables parry2d ^0.13
- rapier2d rapier? wasm-bindgen?
-
Enables rapier2d ^0.18
- rapier_testbed2d rapier-testbed?
-
Enables rapier_testbed2d ^0.18
- bevy_egui graphics?
-
Enables bevy_egui ^0.23
- bevy not wasm32 wasm32 graphics?
-
Enables bevy ^0.12.1