# 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 = "awedio" version = "0.4.1" authors = ["Ben Hansen "] description = "A low-overhead and adaptable audio playback library" readme = "README.md" keywords = [ "audio", "playback", ] categories = [ "multimedia::audio", "embedded", ] license = "MIT OR Apache-2.0" repository = "https://github.com/10buttons/awedio" [[example]] name = "play" required-features = ["cpal"] [dependencies.cpal] version = "0.15" optional = true [dependencies.hound] version = "3.5.0" optional = true [dependencies.log] version = "0.4.20" [dependencies.qoaudio] version = "0.7" optional = true [dependencies.rmp3] version = "0.3.1" features = ["std"] optional = true [dependencies.symphonia] version = "0.5.3" optional = true default-features = false [dependencies.tokio] version = "1.26.0" features = ["sync"] optional = true [features] async = ["dep:tokio"] cpal = ["dep:cpal"] default = [ "cpal", "async", "symphonia-all", "qoa", ] hound-wav = ["dep:hound"] qoa = ["dep:qoaudio"] rmp3-mp3 = ["dep:rmp3"] symphonia-aac = [ "symphonia", "symphonia/aac", ] symphonia-adpcm = [ "symphonia", "symphonia/adpcm", ] symphonia-alac = [ "symphonia", "symphonia/alac", ] symphonia-all = [ "symphonia", "symphonia/all", ] symphonia-flac = [ "symphonia", "symphonia/flac", ] symphonia-isomp4 = [ "symphonia", "symphonia/isomp4", ] symphonia-mkv = [ "symphonia", "symphonia/mkv", ] symphonia-mp1 = [ "symphonia", "symphonia/mp1", ] symphonia-mp2 = [ "symphonia", "symphonia/mp2", ] symphonia-mp3 = [ "symphonia", "symphonia/mp3", ] symphonia-mpa = [ "symphonia", "symphonia/mpa", ] symphonia-ogg = [ "symphonia", "symphonia/ogg", ] symphonia-pcm = [ "symphonia", "symphonia/pcm", ] symphonia-vorbis = [ "symphonia", "symphonia/vorbis", ] symphonia-wav = [ "symphonia", "symphonia/wav", ]