Cargo Features
[dependencies]
bevy_rapier2d = { version = "0.28.0", default-features = false, features = ["dim2", "debug-render-2d", "debug-render-3d", "rapier-debug-render", "parallel", "simd-stable", "simd-nightly", "wasm-bindgen", "serde-serialize", "enhanced-determinism", "headless", "async-collider"] }
- default = async-collider, debug-render-2d, dim2
-
These default features are set whenever
bevy_rapier2d
is added without
somewhere in the dependency tree.default-features = false - dim2 default
-
Affects
rigid_body::Velocity.angvel
,rigid_body::MassProperties.principal_inertia
,rigid_body::ExternalForce.torque
,rigid_body::ExternalImpulse.torque_impulse
,bevy_rapier2d::math
,utils::iso_to_transform
… - debug-render-2d default
-
Enables bevy_asset, bevy_core_pipeline, bevy_gizmos and bevy_sprite of bevy, debug-render of rapier2d
Affects
bevy_rapier2d::render
… - debug-render-3d
-
Enables bevy_asset, bevy_core_pipeline, bevy_gizmos and bevy_pbr of bevy, debug-render of rapier2d
Affects
bevy_rapier2d::render
… - rapier-debug-render
-
Enables debug-render of rapier2d
- parallel
- simd-stable
-
Enables simd-stable of rapier2d
- simd-nightly
-
Enables simd-nightly of rapier2d
- wasm-bindgen
-
Enables wasm-bindgen of rapier2d
- serde-serialize = serde
-
Enables serde-serialize of rapier2d and serialize of bevy
bevy:
Enable serialization support through serde
- enhanced-determinism
-
Enables enhanced-determinism of rapier2d
- headless
- async-collider default
-
Enables bevy_asset, bevy_render and bevy_scene of bevy
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.