-
Notifications
You must be signed in to change notification settings - Fork 49
/
Cargo.toml
91 lines (80 loc) · 2.62 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
[package]
name = "camilladsp"
version = "2.0.3"
authors = ["Henrik Enquist <[email protected]>"]
edition = "2021"
description = "A flexible tool for processing audio"
rust-version = "1.61"
[features]
default = ["websocket"]
pulse-backend = ["libpulse-simple-binding", "libpulse-binding"]
cpal-backend = ["cpal"]
jack-backend = ["cpal-backend", "cpal/jack"]
bluez-backend = ["zbus"]
32bit = []
websocket = ["tungstenite"]
secure-websocket = ["websocket", "native-tls", "tungstenite/native-tls"]
FFTW = ["fftw"]
debug = []
avoid-rustc-issue-116359 = []
[lib]
name = "camillalib"
path = "src/lib.rs"
[[bin]]
name = "camilladsp"
path = "src/bin.rs"
[target.'cfg(target_os="linux")'.dependencies]
alsa = "0.8.1"
alsa-sys = "0.3.1"
nix = "0.23"
zbus = { version = "3.0.0", optional = true }
[target.'cfg(target_os="macos")'.dependencies]
#coreaudio-rs = { path = "../coreaudio-rs" }
#coreaudio-rs = { git = "https://github.com/HEnquist/coreaudio-rs", tag="v0.11.1-rc1" }
coreaudio-rs = "0.11.1"
dispatch = "0.2.0"
[target.'cfg(target_os="windows")'.dependencies]
#wasapi = { path = "../../rust/wasapi" }
#wasapi = { git = "https://github.com/HEnquist/wasapi-rs", branch = "win041" }
wasapi = "0.13.0"
windows = {version = "0.48.0", features = ["Win32_System_Threading", "Win32_Foundation"] }
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
serde_json = "1.0"
serde_with = "1.11"
realfft = "3.0.0"
#realfft = { git = "https://github.com/HEnquist/realfft", branch = "better_errors" }
fftw = { version = "0.7.0", optional = true }
num-complex = "0.4"
num-traits = "0.2"
signal-hook = "0.3.8"
rand = { version = "0.8.3", default_features = false, features = ["small_rng", "std"] }
rand_distr = "0.4.3"
clap = "2.33.0"
lazy_static = "1.4.0"
log = "0.4.14"
flexi_logger = { version = "0.27.2", features = ["async", "colors"] }
chrono = "0.4"
tungstenite = { version = "0.21.0", optional = true }
native-tls = { version = "0.2.7", optional = true }
libpulse-binding = { version = "2.0", optional = true }
libpulse-simple-binding = { version = "2.0", optional = true }
rubato = "0.14.1"
#rubato = { git = "https://github.com/HEnquist/rubato", branch = "next-0.13" }
cpal = { version = "0.13.3", optional = true }
#rawsample = { path = "../../rust/rawsample" }
#rawsample = { git = "https://github.com/HEnquist/rawsample", branch = "main" }
rawsample = "0.2.0"
circular-queue = "0.2.6"
parking_lot = { version = "0.12.1", features = ["hardware-lock-elision"] }
crossbeam-channel = "0.5"
[build-dependencies]
version_check = "0.9"
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "filters"
harness = false
[profile.release]
codegen-units = 1