Cargo Features

[dependencies]
bevy_rapier3d = { version = "0.27.0", default-features = false, features = ["dim3", "debug-render", "debug-render-2d", "debug-render-3d", "parallel", "simd-stable", "simd-nightly", "wasm-bindgen", "serde-serialize", "enhanced-determinism", "headless", "async-collider"] }
default = async-collider, debug-render-3d, dim3

These default features are set whenever bevy_rapier3d is added without default-features = false somewhere in the dependency tree.

dim3 default

Affects rigid_body::Velocity.angvel, rigid_body::MassProperties.principal_inertia_local_frame, rigid_body::MassProperties.principal_inertia, rigid_body::ExternalForce.torque, rigid_body::ExternalImpulse.torque_impulse, bevy_rapier3d::math, utils::iso_to_transform, collider::AsyncCollider, collider::AsyncSceneCollider, collider::ComputedColliderShape, collider::init_async_colliders, collider::init_async_scene_colliders

debug-render = debug-render-3d
debug-render-2d

Enables bevy_asset, bevy_core_pipeline, bevy_gizmos and bevy_sprite of bevy ^0.14, debug-render of rapier3d ^0.21

Affects bevy_rapier3d::render

debug-render-3d default debug-render?

Enables bevy_asset, bevy_core_pipeline, bevy_gizmos and bevy_pbr of bevy ^0.14, debug-render of rapier3d ^0.21

Affects bevy_rapier3d::render

parallel

Enables parallel of rapier3d ^0.21

simd-stable

Enables simd-stable of rapier3d ^0.21

simd-nightly

Enables simd-nightly of rapier3d ^0.21

wasm-bindgen

Enables wasm-bindgen of rapier3d ^0.21

serde-serialize = serde

Enables serde-serialize of rapier3d ^0.21 and serialize of bevy ^0.14

bevy:

Enable serialization support through serde

enhanced-determinism

Enables enhanced-determinism of rapier3d ^0.21

headless
async-collider default

Enables bevy_asset and bevy_scene of bevy ^0.14

Affects collider::AsyncCollider, collider::AsyncSceneCollider, collider::ComputedColliderShape, collider::init_async_colliders, collider::init_async_scene_colliders

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.

serde serde-serialize?