Cargo Features
[dependencies]
rapier3d = { version = "0.22.0", default-features = false, features = ["dim3", "f32", "parallel", "simd-stable", "simd-nightly", "simd-is-enabled", "wasm-bindgen", "serde-serialize", "enhanced-determinism", "debug-render", "profiler", "debug-disable-legitimate-fe-exceptions", "dev-remove-slow-accessors"] }
- default = dim3, f32
-
These default features are set whenever
rapier3d
is added without
somewhere in the dependency tree.default-features = false - dim3 default
-
Affects
joint_constraint_builder::JointTwoBodyConstraintHelper.basis2
,joint_constraint_builder::JointTwoBodyConstraintHelper.ang_basis
,geometry::Cylinder
,geometry::Cone
,rapier3d::math.MAX_MANIFOLD_POINTS
,rapier3d::math.Jacobian
,rapier3d::math.JacobianView
,rapier3d::math.JacobianViewMut
,rapier3d::math.TangentImpulse
,rapier3d::math.SPATIAL_DIM
,rapier3d::math.ANG_DIM
,outlines::instances
… - f32 default
- parallel
-
Enables rayon
- simd-stable = simd-is-enabled
-
Enables simd-stable of parry3d, wide of simba
- simd-nightly = simd-is-enabled
-
Enables simd-nightly of parry3d, portable_simd of simba
- simd-is-enabled simd-nightly? simd-stable?
-
Do not enable this feature directly. It is automatically enabled with the "simd-stable" or "simd-nightly" feature.
Enables vec_map
Affects
joint_constraint_builder::JointTwoBodyConstraintBuilderSimd
,joint_constraint_builder::JointOneBodyConstraintBuilderSimd
… - wasm-bindgen
-
Enables wasm-bindgen of instant
- serde-serialize
-
Enables serde, serde of bit-vec ^0.7, serde-serialize of nalgebra and parry3d
Affects
utils::serde
… - enhanced-determinism
-
Enables enhanced-determinism of parry3d, libm_force of simba
- debug-render
- profiler
-
Enables the internal profiler.
Enables instant
- debug-disable-legitimate-fe-exceptions
-
Feature used for debugging only.
- dev-remove-slow-accessors
-
Feature used for development and debugging only.
Do not enable this unless you are working on the engine internals.