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 default-features = false somewhere in the dependency tree.

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