# 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" rust-version = "1.77" name = "termusic-playback" version = "0.9.1" authors = ["tramhao "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "playback library to support termusic." homepage = "https://github.com/tramhao/termusic" readme = "README.md" keywords = [ "terminal", "tui", "music", "youtube", "podcast", ] categories = [ "command-line-interface", "command-line-utilities", "multimedia::audio", ] license = "MIT" repository = "https://github.com/tramhao/termusic" [lib] name = "termusicplayback" path = "src/lib.rs" doctest = false [dependencies.anyhow] version = "1.0" features = ["backtrace"] [dependencies.async-channel] version = "2.2" [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.22" [dependencies.cpal] version = "^0.15" optional = true [dependencies.discord-rich-presence] version = "0.2" [dependencies.glib] version = "0.20" optional = true [dependencies.gstreamer] version = "0.23" optional = true [dependencies.lazy_static] version = "1.4" [dependencies.libmpv-sirno] version = "2.0.2-fork.1" optional = true [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "^0.12" [dependencies.pathdiff] version = "0.2" features = ["camino"] [dependencies.prost] version = "0.13" [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.12" features = [ "cookies", "gzip", "json", "stream", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.soundtouch] version = "0.4" optional = true [dependencies.souvlaki] version = "0.7.2" [dependencies.stream-download] version = "0.6.0" features = ["reqwest-rustls"] optional = true [dependencies.symphonia] version = "0.5.1" features = [ "default", "aac", "mp3", "isomp4", "alac", "flac", "mkv", ] optional = true [dependencies.termusic-lib] version = "0.9.1" [dependencies.tokio] version = "1.37" features = [ "sync", "macros", "rt", "rt-multi-thread", ] [dependencies.tonic] version = "0.12" [dev-dependencies.pretty_assertions] version = "1.4" [build-dependencies.tonic-build] version = "0.12" [features] all-backends = [ "gst", "mpv", "rusty", ] default = [] gst = [ "dep:gstreamer", "dep:glib", ] mpv = ["dep:libmpv-sirno"] rusty = [ "dep:symphonia", "dep:stream-download", "dep:cpal", ] rusty-soundtouch = ["dep:soundtouch"] [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58.0" features = [ "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_System_LibraryLoader", "Win32_UI_WindowsAndMessaging", ]