Cargo Features

[dependencies]
bevy_rapier3d = { version = "0.25.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, systems::init_async_colliders, systems::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, debug-render of rapier3d

Affects bevy_rapier3d::render

debug-render-3d default debug-render?

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

Affects bevy_rapier3d::render

parallel

Enables parallel of rapier3d

simd-stable

Enables simd-stable of rapier3d

simd-nightly

Enables simd-nightly of rapier3d

wasm-bindgen

Enables wasm-bindgen of rapier3d

serde-serialize = serde

Enables serde-serialize of rapier3d and serialize of bevy

bevy:

Enable serialization support through serde

enhanced-determinism

Enables enhanced-determinism of rapier3d

headless
async-collider default

Enables bevy_asset and bevy_scene of bevy

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

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

serde serde-serialize?