-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (31 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
36 lines (31 loc) · 1.23 KB
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
[workspace]
members = ["proxy-codegen", "proxy", "src-tauri", "webapp"]
resolver = "2"
[patch.crates-io]
# Use cmake to build opus instead of autoconf, this works better for cross compilation
audiopus = { git = "https://github.com/Flakebi/audiopus" }
# Until https://github.com/DoumanAsh/opusic-sys/pull/18 is merged
opusic-sys = { git = "https://github.com/Flakebi/opusic-sys" }
# Fix windows cross-compilation
crunchy = { git = "https://github.com/Flakebi/crunchy" }
# Fix modifying src directory
tauri-plugin = { git = "https://github.com/Flakebi/tauri-plugin" }
# Use local copy of tsclientlib
#[patch."https://github.com/ReSpeak/tsclientlib"]
#tsclientlib = { path = "../tsclientlib/tsclientlib" }
#tsproto = { path = "../tsclientlib/tsproto" }
#ts-bookkeeping = { path = "../tsclientlib/utils/ts-bookkeeping" }
#tsproto-packets = { path = "../tsclientlib/utils/tsproto-packets" }
#tsproto-structs = { path = "../tsclientlib/utils/tsproto-structs" }
#tsproto-types = { path = "../tsclientlib/utils/tsproto-types" }
# Compile in release mode to speed up
[profile.dev.package.audiopus]
opt-level = 3
[profile.dev.package.ebur128]
opt-level = 3
[profile.dev.package.nnnoiseless]
opt-level = 3
[profile.release]
panic = "abort"
[profile.dev]
panic = "abort"