Cargo Features
[dependencies]
lightyear_avian = { version = "0.21.0-rc.2", default-features = false, features = ["std", "2d", "3d", "lag_compensation"] }
- default = std
-
The
std
feature is set by default wheneverlightyear_avian
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of lightyear_replication
- 2d
-
Enables lightyear_frame_interpolation, lightyear_interpolation, lightyear_prediction, and lightyear_replication, 2d and parry-f32 of avian2d
Affects
lightyear_avian::types_2d
,sync::position_to_transform
… - 3d
-
Enables lightyear_frame_interpolation, lightyear_interpolation, lightyear_prediction, and lightyear_replication, 3d and parry-f32 of avian3d
Affects
lightyear_avian::types_3d
,sync::position_to_transform
… - lag_compensation
-
Enables lightyear_core and lightyear_link
Affects
lightyear_avian::lag_compensation
…
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.