Cargo Features
[dependencies]
rapier_testbed2d = { version = "0.22.0", default-features = false, features = ["dim2", "parallel", "other-backends"] }
- default = dim2
-
The
dim2
feature is set by default wheneverrapier_testbed2d
is added without
somewhere in the dependency tree.default-features = false - dim2 default
-
Affects
lib::math.MAX_MANIFOLD_POINTS
,lib::math.Jacobian
,lib::math.JacobianView
,lib::math.JacobianViewMut
,lib::math.TangentImpulse
,lib::math.SPATIAL_DIM
,lib::math.ANG_DIM
,outlines::instances
,graphics::BevyMaterial
,rapier_testbed2d::math
,mouse::SceneMouse.point
… - parallel = num_cpus
-
Affects
harness::RunState.thread_pool
… - other-backends = wrapped2d
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.