-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
54 lines (46 loc) · 1.98 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
[package]
name = "nyasynth"
version = "0.1.0"
authors = ["Aaron Kofsky <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# Repo pinned to https://github.com/a2aaron/nih-plug/commit/2ecc194e461de1bdbc117d86449b2fb30fafb356
# This forked version is needed to expose some of nih-plug's internals, specifically so that perf.rs
# can implement a minimal host. Additionally, this adds a method to ProcessContext to allow peeking
# of events.
nih_plug = { git = "https://github.com/a2aaron/nih-plug.git", rev = "2ecc194e461de1bdbc117d86449b2fb30fafb356", features = ["vst3", "standalone"]}
nih_plug_egui = { git = "https://github.com/a2aaron/nih-plug.git", rev = "2ecc194e461de1bdbc117d86449b2fb30fafb356" }
# nih_plug = { path = "../nih-plug", features = ["vst3", "standalone"]}
derive_more = "0.99"
biquad = "0.4.0"
ordered-float = "3.4.0"
getrandom = "0.2.8"
atomic_float = "0.1.0"
once_cell = "1.17.1"
image = { version = "0.24.5", default-features = false, features = ["png"] }
# perf.rs dependencies
midly = "0.5.3"
wav = "1.0.0"
clap = { version = "4.1.8", features = ["derive"] }
serde_json = "1.0.94"
serde = "1.0.156"
[profile.release]
lto = true
[lib]
crate-type = ["cdylib", "lib"]
[workspace]
members = ["xtask"]
# Cross compilation for Linux - use main-centos to get the oldest managable glibc
[package.metadata.cross.target.x86_64-unknown-linux-gnu]
xargo = false
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main-centos"
pre-build = [
"yum install -y mesa-libGL-devel libXcursor-devel alsa-lib-devel python3 xcb-util-wm-devel",
# This probably only works on an x86 host.
"cd /tmp && curl -L 'https://github.com/jackaudio/jack2/archive/refs/tags/v1.9.22.tar.gz' -o jack2-v1.9.22.tar.gz && tar xf jack2-v1.9.22.tar.gz && cd jack2-1.9.22 && ./waf configure && ./waf build && ./waf install",
]
[package.metadata.cross.build.env]
passthrough = [
"PKG_CONFIG_PATH=/usr/local/lib/pkgconfig",
]