mirror of
https://github.com/ivabus/lonelyradio
synced 2024-11-14 04:25:07 +03:00
Ivan Bushchik
29338f32e3
- XSPF playlists support - Modernization of error handling and server-client communications - Vorbis and ALAC transcoding - All transcoders are now optional but enabled on default - lonelyradio_types crate is now exported through monolib Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
65 lines
1.5 KiB
TOML
65 lines
1.5 KiB
TOML
[workspace]
|
|
members = [
|
|
"lonelyradio_types",
|
|
"monoclient",
|
|
"monoclient-s",
|
|
"monolib",
|
|
"monoloader",
|
|
]
|
|
|
|
[package]
|
|
name = "lonelyradio"
|
|
description = "TCP radio for lonely ones"
|
|
version = "0.7.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Ivan Bushchik <ivabus@ivabus.dev>"]
|
|
repository = "https://github.com/ivabus/lonelyradio"
|
|
|
|
[dependencies]
|
|
lonelyradio_types = { version = "0.7.0", path = "./lonelyradio_types" }
|
|
rand = "0.8.5"
|
|
clap = { version = "4.4.18", features = ["derive"] }
|
|
tokio = { version = "1.35.1", features = [
|
|
"net",
|
|
"rt-multi-thread",
|
|
"rt",
|
|
"macros",
|
|
] }
|
|
walkdir = "2.4.0"
|
|
symphonia = { version = "0.5.4", features = [
|
|
"all-codecs",
|
|
"all-formats",
|
|
"opt-simd",
|
|
] }
|
|
chrono = "0.4"
|
|
rmp-serde = "1.1.2"
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
lofty = "0.18.2"
|
|
async-stream = "0.3.5"
|
|
tokio-stream = { version = "0.1.15", features = ["sync"] }
|
|
futures-util = "0.3.30"
|
|
once_cell = "1.19.0"
|
|
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 }
|
|
|
|
[features]
|
|
default = ["all-lossless", "all-lossy"]
|
|
all-lossless = ["alac", "flac"]
|
|
all-lossy = ["vorbis"]
|
|
alac = ["dep:alac-encoder"]
|
|
flac = ["dep:flacenc"]
|
|
vorbis = ["dep:vorbis_rs"]
|
|
|
|
[profile.distribute]
|
|
inherits = "release"
|
|
opt-level = 3
|
|
strip = true
|
|
lto = "fat"
|