Cargo Features
[dependencies]
caper = { version = "0.13.0", default-features = false, features = ["3d-audio", "no-audio", "nphysics", "impose"] }
- default = impose
-
The
impose
feature is set by default whenevercaper
is added without
somewhere in the dependency tree.default-features = false Affects
game::Game.audio
… - 3d-audio = ambisonic
-
Affects
game::Game.audio
… - no-audio
- nphysics = nalgebra, ncollide3d, nphysics3d
-
Affects
game::Game.physics
,game::Physics
…
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.
- nphysics3d nphysics?
-
Enables nphysics3d ^0.11
- nalgebra nphysics?
-
Enables nalgebra ^0.18
- ncollide3d nphysics?
-
Enables ncollide3d ^0.19
- impose default
- ambisonic 3d-audio?
-
Enables ambisonic ^0.3