Cargo Features
[dependencies]
rapier_testbed2d = { version = "0.23.1", default-features = false, features = ["dim2", "parallel", "other-backends", "profiler_ui", "unstable-puffin-pr-235"] }
- 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
,graphics::BevyMaterialComponent
,rapier_testbed2d::math
,mouse::SceneMouse.point
… - parallel = num_cpus
-
Affects
harness::RunState.thread_pool
… - other-backends = wrapped2d
- profiler_ui
-
Enables puffin_egui, profile-with-puffin of profiling
- unstable-puffin-pr-235
-
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.