-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathCargo.toml
48 lines (42 loc) · 1.32 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "termusic-server"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
description = "server that can play music and running by itself. Works with termusic. "
repository.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true
[[bin]]
name = "termusic-server"
path = "src/server.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
termusic-lib.workspace = true # = {path = "../lib/"}
termusic-playback = { workspace = true, default-features = false }
anyhow.workspace = true
ctrlc.workspace = true
lazy_static.workspace = true
log.workspace = true
flexi_logger.workspace = true
colored.workspace = true
parking_lot.workspace = true
serde.workspace = true
tokio.workspace = true
tokio-stream.workspace = true
tonic.workspace = true
clap.workspace = true
[features]
# NOTE: this package fails to compile if not one of the backends (rusty, gst, mpv) are compiled in!
default = []
# # left for debug
# default = ["mpv"]
# default = ["gst"]
gst = ["termusic-playback/gst"]
mpv = ["termusic-playback/mpv"]
# rusty = ["termusic-playback/rusty"]
rusty-soundtouch = ["termusic-playback/rusty-soundtouch"]
all-backends = ["gst", "mpv", "rusty-soundtouch"]