Cargo Features
[dependencies]
bevy_rapier2d = { version = "0.27.0", default-features = false, features = ["dim2", "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-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 ^0.21
Affects
bevy_rapier2d::render
… - debug-render-3d
-
Enables bevy_asset, bevy_core_pipeline, bevy_gizmos and bevy_pbr of bevy, debug-render of rapier2d ^0.21
Affects
bevy_rapier2d::render
… - parallel
-
Enables parallel of rapier2d ^0.21
- simd-stable
-
Enables simd-stable of rapier2d ^0.21
- simd-nightly
-
Enables simd-nightly of rapier2d ^0.21
- wasm-bindgen
-
Enables wasm-bindgen of rapier2d ^0.21
- serde-serialize = serde
-
Enables serde-serialize of rapier2d ^0.21 and serialize of bevy
bevy:
Enable serialization support through serde
- enhanced-determinism
-
Enables enhanced-determinism of rapier2d ^0.21
- headless
- async-collider default
-
Enables bevy_asset 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.