Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (54 loc) · 1.87 KB
/
Copy pathCargo.toml
File metadata and controls
65 lines (54 loc) · 1.87 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
61
62
63
64
65
[workspace]
members = ["ui", "neural", "playground", "plugin", "xtask", "dsp-lab", "wasm"]
[workspace.package]
version = "0.2.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/arizkami/fa76"
# nih-plug is not published to crates.io, so it is pinned by revision rather
# than tracking a moving branch.
[workspace.dependencies]
fa76 = { path = "." }
fa76-ui = { path = "ui" }
fa76-neural = { path = "neural" }
egui = "0.31"
image = { version = "0.25", default-features = false, features = ["png"] }
serde_json = "1"
nih_plug = { git = "https://github.com/robbert-vdh/nih-plug.git", rev = "f36931f7af4646065488a9845d8f8c2f95252c23" }
nih_plug_egui = { git = "https://github.com/robbert-vdh/nih-plug.git", rev = "f36931f7af4646065488a9845d8f8c2f95252c23" }
nih_plug_xtask = { git = "https://github.com/robbert-vdh/nih-plug.git", rev = "f36931f7af4646065488a9845d8f8c2f95252c23" }
[package]
name = "fa76"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Circuit-derived FET limiting amplifier (1176 Rev D/E style) DSP core"
readme = "README.md"
# The DSP core has no dependencies, and now that the GUI lives in its own
# workspace members there is nothing optional left here to keep it that way.
[dependencies]
[features]
default = []
# Development-only stage isolation for linear-response bug hunting. Compiles to
# nothing in a release build; never exposed as a user control.
dsp-diagnostics = []
[lib]
name = "fa76"
path = "src/lib.rs"
[[bin]]
name = "fa76-measure"
path = "src/bin/measure.rs"
[[example]]
name = "bench"
path = "examples/bench.rs"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
[profile.bench]
inherits = "release"
# The playground and the plugin editor are unusable unless the DSP runs at full
# speed, so optimise the core even in a debug build.
[profile.dev.package.fa76]
opt-level = 3