# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "moosicbox_audio_encoder" version = "0.1.0" authors = ["Braden Steffaniak"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Audio converter helper" readme = "README.md" keywords = [ "audio", "convert", "converter", "encoding", ] categories = [ "compression", "encoding", ] license = "MPL-2.0" repository = "https://github.com/MoosicBox/MoosicBox" [lib] name = "moosicbox_audio_encoder" path = "src/lib.rs" [dependencies.audiopus] version = "0.2.0" optional = true [dependencies.fdk-aac] version = "0.7.0" optional = true [dependencies.flacenc] version = "0.4.0" optional = true [dependencies.log] version = "0.4" features = ["release_max_level_trace"] [dependencies.mp3lame-encoder] version = "0.2.0" optional = true [dependencies.ogg] version = "0.9.1" optional = true [dependencies.opus] version = "0.3.0" optional = true [dependencies.thiserror] version = "1.0.64" [features] aac = ["dep:fdk-aac"] default = [ "aac", "flac", "mp3", "opus", ] fail-on-warnings = [] flac = ["dep:flacenc"] mp3 = ["dep:mp3lame-encoder"] opus = [ "dep:audiopus", "dep:ogg", "dep:opus", ]