Cargo Features
[dependencies]
rapier2d-f64 = { version = "0.22.0", default-features = false, features = ["dim2", "f64", "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 = dim2, f64
-
These default features are set whenever
rapier2d-f64
is added without
somewhere in the dependency tree.default-features = false - dim2 default
-
Affects
rapier2d-f64::math.MAX_MANIFOLD_POINTS
,rapier2d-f64::math.Jacobian
,rapier2d-f64::math.JacobianView
,rapier2d-f64::math.JacobianViewMut
,rapier2d-f64::math.TangentImpulse
,rapier2d-f64::math.SPATIAL_DIM
,rapier2d-f64::math.ANG_DIM
,outlines::instances
… - f64 default
- parallel
-
Enables rayon
- simd-stable = simd-is-enabled
- simd-nightly = simd-is-enabled
-
Enables 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 arrayvec and bit-vec ^0.7, serde-serialize of nalgebra and parry2d-f64
Affects
utils::serde
… - enhanced-determinism
-
Enables enhanced-determinism of parry2d-f64, 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.