Cargo Features
[dependencies]
magnum = { version = "1.0.1", default-features = false, features = ["all", "with_caf", "with_ogg", "with_rodio", "with_kira"] }
- default = with_caf, with_ogg
-
These default features are set whenever
magnum
is added without
somewhere in the dependency tree.default-features = false - all = with_caf, with_kira, with_ogg, with_rodio
- with_caf default all? = caf
-
Affects
container::caf
… - with_ogg default all? = ogg
-
Affects
container::ogg
… - with_rodio all? = rodio
- with_kira all? = kira
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.
- kira with_kira?
-
Enables kira ^0.5.3
- caf with_caf
- ogg with_ogg
-
Enables ogg ^0.8.0
- rodio with_rodio?
-
Enables rodio ^0.14.0