Cargo Features
[dependencies]
geng-rodio = { version = "0.17.1", default-features = false, features = ["flac", "vorbis", "wav", "mp3", "minimp3", "wasm-bindgen", "symphonia-aac", "symphonia-all", "symphonia-flac", "symphonia-isomp4", "symphonia-mp3", "symphonia-vorbis", "symphonia-wav", "crossbeam-channel"] }
- default = flac, mp3, vorbis, wav
-
These default features are set whenever
geng-rodio
is added without
somewhere in the dependency tree.default-features = false - flac default = claxon
- vorbis default = lewton
- wav default = hound
- mp3 default = symphonia-mp3
- minimp3
-
Enables minimp3_fixed
- wasm-bindgen
-
Enables wasm-bindgen of cpal
- symphonia-aac symphonia-all?
-
symphonia:
Enable specific codecs and formats.
TODO: Use "dep:" after MSRV is raised to >= 1.60. - symphonia-all = symphonia-aac, symphonia-flac, symphonia-isomp4, symphonia-mp3, symphonia-vorbis, symphonia-wav
- symphonia-flac symphonia-all?
- symphonia-isomp4 symphonia-all?
- symphonia-mp3 mp3 symphonia-all?
- symphonia-vorbis symphonia-all?
- symphonia-wav symphonia-all?
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.
- claxon flac
- hound wav
- lewton vorbis
- symphonia symphonia-aac? symphonia-flac? symphonia-isomp4? symphonia-mp3? symphonia-vorbis? symphonia-wav?
- crossbeam-channel implicit feature
-
Enables crossbeam-channel
crossbeam-channel:
Multi-producer multi-consumer channels for message passing