# 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-server" version = "0.9.1" authors = ["tramhao "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "server that can play music and running by itself. Works with 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" [[bin]] name = "termusic-server" path = "src/server.rs" [dependencies.anyhow] version = "1.0" features = ["backtrace"] [dependencies.clap] version = "4.5" features = [ "derive", "env", ] [dependencies.colored] version = "2.0" [dependencies.ctrlc] version = "3.4" features = ["termination"] [dependencies.flexi_logger] version = "0.28" [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" [dependencies.parking_lot] version = "^0.12" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.sysinfo] version = "^0.30" [dependencies.termusic-lib] version = "0.9.1" [dependencies.termusic-playback] version = "0.9.1" default-features = false [dependencies.tokio] version = "1.37" features = [ "sync", "macros", "rt", "rt-multi-thread", ] [dependencies.tonic] version = "0.12" [features] all-backends = [ "gst", "mpv", "rusty", ] default = [ "rusty", "rusty-soundtouch", ] gst = ["termusic-playback/gst"] mpv = ["termusic-playback/mpv"] rusty = ["termusic-playback/rusty"] rusty-soundtouch = ["termusic-playback/rusty-soundtouch"]