2024-02-25 15:40:23 +03:00
|
|
|
[workspace]
|
2024-05-16 08:28:18 +03:00
|
|
|
members = [
|
|
|
|
"lonelyradio_types",
|
|
|
|
"monoclient",
|
2024-05-20 07:48:32 +03:00
|
|
|
"monoclient-s",
|
2024-05-16 08:28:18 +03:00
|
|
|
"monolib",
|
|
|
|
"monoloader",
|
|
|
|
]
|
2024-02-25 15:40:23 +03:00
|
|
|
|
2024-01-28 20:18:18 +03:00
|
|
|
[package]
|
|
|
|
name = "lonelyradio"
|
2024-03-13 20:48:10 +03:00
|
|
|
description = "TCP radio for lonely ones"
|
2024-08-26 20:08:19 +03:00
|
|
|
version = "0.7.0"
|
2024-01-28 20:18:18 +03:00
|
|
|
edition = "2021"
|
|
|
|
license = "MIT"
|
2024-02-25 15:40:23 +03:00
|
|
|
authors = ["Ivan Bushchik <ivabus@ivabus.dev>"]
|
2024-01-28 20:18:18 +03:00
|
|
|
repository = "https://github.com/ivabus/lonelyradio"
|
|
|
|
|
|
|
|
[dependencies]
|
2024-08-26 20:08:19 +03:00
|
|
|
lonelyradio_types = { version = "0.7.0", path = "./lonelyradio_types" }
|
2024-01-28 20:18:18 +03:00
|
|
|
rand = "0.8.5"
|
2024-02-25 15:40:23 +03:00
|
|
|
clap = { version = "4.4.18", features = ["derive"] }
|
|
|
|
tokio = { version = "1.35.1", features = [
|
|
|
|
"net",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"rt",
|
|
|
|
"macros",
|
|
|
|
] }
|
2024-01-28 20:18:18 +03:00
|
|
|
walkdir = "2.4.0"
|
2024-02-28 17:50:24 +03:00
|
|
|
symphonia = { version = "0.5.4", features = [
|
2024-02-25 15:40:23 +03:00
|
|
|
"all-codecs",
|
|
|
|
"all-formats",
|
2024-02-28 17:50:24 +03:00
|
|
|
"opt-simd",
|
2024-02-25 15:40:23 +03:00
|
|
|
] }
|
2024-01-28 20:18:18 +03:00
|
|
|
chrono = "0.4"
|
2024-03-13 20:48:10 +03:00
|
|
|
rmp-serde = "1.1.2"
|
|
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
|
|
lofty = "0.18.2"
|
2024-03-24 13:24:48 +03:00
|
|
|
async-stream = "0.3.5"
|
|
|
|
tokio-stream = { version = "0.1.15", features = ["sync"] }
|
|
|
|
futures-util = "0.3.30"
|
2024-05-16 08:28:18 +03:00
|
|
|
once_cell = "1.19.0"
|
2024-08-26 20:08:19 +03:00
|
|
|
image = { version = "0.25.1", default-features = false, features = ["png", "jpeg", "bmp"]}
|
|
|
|
xspf = "0.4.0"
|
|
|
|
url = "2.5.2"
|
|
|
|
samplerate = "0.2.4"
|
|
|
|
|
|
|
|
# Optional encoders
|
|
|
|
flacenc = { version = "0.4.0", default-features = false, optional = true }
|
|
|
|
alac-encoder = { version = "0.3.0", optional = true }
|
|
|
|
vorbis_rs = {version = "0.5.4", optional = true }
|
2024-07-12 23:25:36 +03:00
|
|
|
|
2024-08-26 20:08:19 +03:00
|
|
|
[features]
|
|
|
|
default = ["all-lossless", "all-lossy"]
|
|
|
|
all-lossless = ["alac", "flac"]
|
|
|
|
all-lossy = ["vorbis"]
|
|
|
|
alac = ["dep:alac-encoder"]
|
|
|
|
flac = ["dep:flacenc"]
|
|
|
|
vorbis = ["dep:vorbis_rs"]
|
2024-02-25 15:40:23 +03:00
|
|
|
|
2024-08-26 20:08:19 +03:00
|
|
|
[profile.distribute]
|
|
|
|
inherits = "release"
|
2024-02-25 15:40:23 +03:00
|
|
|
opt-level = 3
|
2024-05-20 07:48:32 +03:00
|
|
|
strip = true
|
2024-08-26 20:08:19 +03:00
|
|
|
lto = "fat"
|