-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
97 lines (89 loc) · 2.42 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[package]
resolver = "2"
authors = [
"dheijl",
"joshuamegnauth54",
"ein-shved",
"Villardo",
"theavege",
"MoAlyousef",
]
edition = "2021"
name = "swyh-rs"
version = "1.12.1"
description = "Stream What You Hear written in Rust"
license = "MIT"
repository = "https://github.com/dheijl/swyh-rs/"
readme = "README.md"
default-run = "swyh-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
strip = true
codegen-units = 1
lto = "thin"
[features]
gui = ["dep:fltk", "dep:fltk-theme"]
cli = ["dep:local-ip-address"]
default = ["gui"]
[[bin]]
name = "swyh-rs"
#src = "src/bin/swyh-rs"
required-features = ["gui"]
[[bin]]
name = "swyh-rs-cli"
#src = "src/bin/swyh-rs-cli"
required-features = ["cli"]
[target.'cfg(windows)'.build-dependencies]
winres = "0.1.12"
[dependencies]
bitflags = "2.6.0"
cpal = "0.15.3"
crossbeam-channel = "0.5.13"
ctrlc = { version = "3.4.5", features = ["termination"] }
dasp_sample = "0.11.0"
dirs = "5.0.1"
fastrand = "2.2.0"
flac-bound = { version = "0.5.0", default-features = false, features = [
"libflac-noogg",
] }
hashbrown = "0.15.1"
htmlescape = "0.3.1"
if-addrs = "0.13.3"
lexopt = "0.3.0"
local-ip-address = { version = "0.6.3", optional = true }
log = { version = "0.4.22", features = [
"max_level_trace",
"release_max_level_debug",
"serde",
] }
parking_lot = "0.12.3"
serde = { version = "1.0.215", features = ["derive"] }
simplelog = "0.12.2"
strfmt = "0.2.4"
stringreader = "0.1.1"
tiny_http = "0.12.0"
toml = "0.8.19"
ureq = { version = "2.10.1", default-features = false, features = [
"charset",
"gzip",
] }
url = "2.5.3"
xml-rs = "0.8.23"
[target.'cfg(windows)'.dependencies]
fltk = { version = "1.4.36", features = ["use-ninja"], optional = true }
fltk-theme = { version = "0.7.3", optional = true }
windows = { version = "0.58.0", features = [
"Win32_Foundation",
"Win32_System_Threading",
] }
winres = "0.1.12"
[target.'cfg(unix)'.dependencies]
fltk = { version = "1.4.36", features = ["use-ninja"], optional = true }
fltk-theme = { version = "0.7.3", optional = true }
libc = "0.2.164"
[patch.crates-io]
#fltk = { git = "https://github.com/fltk-rs/fltk-rs" }
#tiny_http = { git = "https://github.com/tiny-http/tiny-http" }
#cpal = { git = "https://github.com/RustAudio/cpal" }
#flac-bound = { git = "https://github.com/dheijl/flac-bound" }
#flac-bound = { git = "https://github.com/nabijaczleweli/flac-bound" }