-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
35 lines (30 loc) · 1.13 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
[package]
name = "nih_plug_wgpu_example"
version = "0.1.0"
edition = "2021"
authors = ["Andrew Thomas <[email protected]>"]
license = "GPL-3.0-or-later"
homepage = "https://youtu.be/dQw4w9WgXcQ"
description = "a simple example of rendering wgpu in an nih_plug plugin"
[workspace]
members = ["xtask"]
[lib]
crate-type = ["cdylib"]
[dependencies]
bytemuck = { version = "1.16.0", features = ["derive"] }
# Remove the `assert_process_allocs` feature to allow allocations on the audio
# thread in debug builds.
nih_plug = { git = "https://github.com/robbert-vdh/nih-plug.git", features = ["assert_process_allocs"] }
wgpu = { version = "0.18" }
baseview = { git = "https://github.com/RustAudio/baseview.git", rev = "2c1b1a7b0fef1a29a5150a6a8f6fef6a0cbab8c4" }
pollster = "0.3.0"
# Uncomment the below line to disable the on-by-default VST3 feature to remove
# the GPL compatibility requirement
# nih_plug = { git = "https://github.com/robbert-vdh/nih-plug.git", default-features = false, features = ["assert_process_allocs"] }
[profile.release]
lto = "thin"
strip = "symbols"
[profile.profiling]
inherits = "release"
debug = true
strip = "none"