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 whenever rapier_testbed2d is added without default-features = false somewhere in the dependency tree.

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

Enables parallel of rapier2d

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.

num_cpus parallel?
wrapped2d other-backends?