Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (53 loc) · 1.81 KB
/
Copy pathCargo.toml
File metadata and controls
60 lines (53 loc) · 1.81 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[workspace]
resolver = "2"
members = ["crates/*", "app"]
# plugins/: the native plug-in examples, a workspace of their own.
exclude = ["vendor", "plugins"]
[workspace.package]
version = "2.5.2"
edition = "2021"
authors = ["The Audiform2 contributors"]
repository = "https://github.com/AudiFormer/AudiForm2"
rust-version = "1.99"
[workspace.dependencies]
af2-core = { path = "crates/af2-core" }
af2-io = { path = "crates/af2-io" }
af2-dsp = { path = "crates/af2-dsp" }
af2-engine = { path = "crates/af2-engine" }
af2-separation = { path = "crates/af2-separation" }
audiform-separate-client = { path = "crates/af2-separation-client" }
af2-interop = { path = "crates/af2-interop" }
af2-dts = { path = "crates/af2-dts" }
af2-osdecode = { path = "crates/af2-osdecode" }
af2-space = { path = "crates/af2-space" }
af2-enhance = { path = "crates/af2-enhance" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
symphonia = { version = "0.5.4", features = ["all"] }
hound = "3.5"
cpal = "0.15"
rtrb = "0.3"
sha2 = "0.10"
eframe = { version = "0.29", features = ["wgpu"] }
egui = "0.29"
rfd = "0.15"
# Audio code is far too slow unoptimised; keep dependencies fast in dev builds.
[profile.dev.package."*"]
opt-level = 2
[profile.dev]
opt-level = 1
[profile.release]
lto = "thin"
codegen-units = 4
# Published builds: the whole program optimised as one (fat LTO, one
# codegen unit). Slower to build, a little faster to run; test builds
# keep `release`. `cargo build --profile dist -p audiform2`.
[profile.dist]
inherits = "release"
lto = "fat"
codegen-units = 1
# Symphonia's Vorbis decoder with one change: Ogg Vorbis with more than 8
# channels (multitrack .mogg files) decodes instead of being refused.
# MPL-2.0, as published; see vendor/README.md.
[patch.crates-io]
symphonia-codec-vorbis = { path = "vendor/symphonia-codec-vorbis" }