[package] authors = ["Braden Steffaniak"] categories = ["compression", "encoding"] description = "Audio converter helper" edition = "2021" keywords = ["audio", "convert", "converter", "encoding"] license = "MPL-2.0" name = "moosicbox_audio_encoder" readme = "README.md" repository = "https://github.com/MoosicBox/MoosicBox" version = "0.1.0" [dependencies] # Aac dependencies fdk-aac = { workspace = true, optional = true } # Flac dependencies flacenc = { workspace = true, optional = true } # Opus dependencies audiopus = { workspace = true, optional = true } ogg = { workspace = true, optional = true } opus = { workspace = true, optional = true } # Mp3 dependencies mp3lame-encoder = { workspace = true, optional = true } log = { workspace = true } thiserror = { workspace = true } [features] default = ["aac", "flac", "mp3", "opus"] fail-on-warnings = [] aac = ["dep:fdk-aac"] flac = ["dep:flacenc"] mp3 = ["dep:mp3lame-encoder"] opus = ["dep:audiopus", "dep:ogg", "dep:opus"]