-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
157 lines (140 loc) · 4.15 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[package]
name = "weresocool"
version = "1.0.47"
edition = "2021"
authors = ["Danny <[email protected]>"]
description = "***** WereSoCool __!Now In Stereo!__ ****** Make cool sounds. Impress your friends."
license = "GPL-3.0"
autobins = false
repository = "https://github.com/xasopheno/WereSoCool"
keywords = ["microtonal", "binaural", "composition", "audio", "music"]
categories = ["multimedia::audio"]
readme = "README.md"
resolver="2"
default-run = "weresocool"
exclude = [
"imgs/*",
]
[package.metadata.arch]
arch = ["x86_64"]
makedepends = ["cargo", "lame", "vorbis-tools"]
depends = ["lame", "vorbis-tools"]
provides = ["weresocool"]
[target.'cfg(target_os = "windows")'.dependencies]
weresocool_core = { path="core", version = "^1.0.47", features = ["windows"] }
weresocool_error = { path = "error", version = "^1.0.47", features=["windows"] }
[target.'cfg(target_os = "linux")'.dependencies]
weresocool_core = { path="core", version = "^1.0.47", features = ["windows"] }
weresocool_error = { path = "error", version = "^1.0.47", features=["windows"] }
[target.'cfg(target_os = "macos")'.dependencies]
weresocool_core = { path="core", version = "^1.0.47", features = ["app"] }
weresocool_error = { path = "error", version = "^1.0.47", features=["app"] }
[dependencies]
weresocool_core = { path="core", version = "^1.0.47", default_features=false }
weresocool_error = { path = "error", version = "^1.0.47", default_features=false }
weresocool_parser = { path = "parser", version = "^1.0.47", default_features=false, optional=true }
weresocool_ast = { path = "ast", version = "^1.0.47", default_features=false, optional=true }
weresocool_instrument = { path = "instrument", version = "^1.0.47", default_features=false, optional=true }
weresocool_portaudio = { path = "portaudio", version = "^1.0.47", default_features=false, optional=true }
scop = { path = "scop", version = "^1.0.47" }
opmap = { path = "opmap", version = "^1.0.47" }
weresocool_shared = { path = "shared", version = "^1.0.47" }
weresocool_analyze = { path = "analyze", version = "^1.0.47" }
weresocool_ring_buffer = { path = "ring_buffer", version = "^1.0.47" }
clap = "4.0.27"
thiserror = "1.0.31"
notify = "5.0.0-pre.14"
zip = { version="0.6.6", optional=true }
hound = { version="3.4.0", optional=true }
assert_cmd = { version="2.0.4", optional=true }
serde = { version = "1.0.119", features = ["derive"] }
serde_json = "1.0.64"
serde_derive = "1.0.126"
term = "0.7.0"
num-rational = "0.3.2"
indexmap = { version = "1.7.0", features = ["serde-1"] }
difference = "2.0.0"
test-generator = "0.3.0"
crossbeam-channel = "0.5.6"
indoc = "1.0.7"
colored = "2.0.0"
rand = { version="0.7.3", features=["wasm-bindgen"]}
[dev-dependencies]
pretty_assertions = "0.6.1"
criterion = "0.3.3"
temp-dir = "0.1.11"
[features]
default=["app"]
app=[
"weresocool_error/app",
"weresocool_core/app",
"weresocool_parser/app",
"weresocool_instrument/app",
"weresocool_ast/app",
"weresocool_core/app",
"weresocool_portaudio",
"zip",
"hound",
"assert_cmd",
]
windows=[
"weresocool_error/windows",
"weresocool_core/windows",
"weresocool_parser/app",
"weresocool_instrument/app",
"weresocool_ast/app",
"weresocool_portaudio",
"zip",
"hound",
"assert_cmd",
]
wasm = [
"weresocool_core/wasm",
"weresocool_ast/wasm",
"weresocool_instrument/wasm",
"weresocool_parser/wasm",
"weresocool_error/wasm",
]
[[bench]]
name = "render_batch_bench"
harness = false
[[bench]]
name = "nf_to_vec_renderable_bench"
harness = false
[workspace]
members = [
"core",
"analyze",
"filter",
"opmap",
"ast",
"error",
"instrument",
"lame",
"parser",
"portaudio",
"shared",
"scop",
"ring_buffer",
"vorbis",
]
[[bin]]
name = "weresocool"
path = "src/main.rs"
# [[bin]]
# name = "stems"
# path = "bin/stems.rs"
# [[bin]]
# name = "real_time"
# path = "bin/real_time.rs"
# [[bin]]
# name = "mic"
# path = "bin/real_time_mic.rs"
# [[bin]]
# name = "scratch"
# path = "bin/pad.rs"
## This is a hack. I don't want this binary to be built for users,
## but I need it to run tests.
[[example]]
name = "snapshot"
path = "bin/snapshot.rs"