Cargo Features
[dependencies]
bevy_heavy = { version = "0.1.0", default-features = false, features = ["2d", "3d", "bevy_reflect", "serialize", "approx", "libm"] }
- default = 2d, 3d, bevy_reflect
-
These default features are set whenever
bevy_heavy
is added without
somewhere in the dependency tree.default-features = false - 2d default
-
Enable 2D functionality.
- 3d default
-
Enable 3D functionality.
- bevy_reflect default
-
Enable reflection using
bevy_reflect
.Enables bevy_reflect of bevy_math and bevy_reflect
Serialization
- serialize
-
Enable data serialization/deserialization using
serde
. - approx
-
Enable
approx
to approximate floating point equality comparisons and assertions for types.Enables approx of bevy_math and approx
Math
- libm
-
Enable libm mathematical functions for glam types to ensure consistent outputs across platforms at the cost of losing hardware-level optimization using intrinsics.