Cargo Features
[dependencies]
moosicbox_audio_encoder = { version = "0.1.0", default-features = false, features = ["fail-on-warnings", "aac", "flac", "mp3", "opus"] }
- default = aac, flac, mp3, opus
-
These default features are set whenever
moosicbox_audio_encoder
is added without
somewhere in the dependency tree.default-features = false - fail-on-warnings
- aac default
-
Enables fdk-aac
Aac dependencies
Affects
moosicbox_audio_encoder::aac
… - flac default
-
Enables flacenc
Flac dependencies
Affects
moosicbox_audio_encoder::flac
… - mp3 default
-
Enables mp3lame-encoder
Mp3 dependencies
Affects
moosicbox_audio_encoder::mp3
… - opus default
-
Enables audiopus, ogg, and opus
audiopus:
Opus dependencies
Affects
moosicbox_audio_encoder::opus
…