[package] name = "nih_plug_template" version = "0.1.0" edition = "2021" authors = ["Your Name "] homepage = "https://github.com/YOUR-USERNAME/YOUR-PLUGIN-NAME" description = "A minimal NIH-plug audio plugin" license = "Apache-2.0" [workspace] members = ["xtask"] [features] # CLAP only by default. NIH-plug's VST3 bindings (vst3-sys) are GPLv3, so linking # them makes the resulting binary GPLv3 regardless of what this package declares. # Opt in explicitly — and relicense this crate — if you intend to ship a VST3: # cargo xtask bundle nih_plug_template --release --features vst3 default = [] vst3 = ["nih_plug/vst3"] [lib] # `cdylib` is the plugin binary; `lib` (rlib) lets `cargo test` link the unit tests. crate-type = ["cdylib", "lib"] [dependencies] # Pinned to the same commit as musiikki/codename-206. # Update the `rev` when you want to update NIH-plug. # `default-features = false` drops nih_plug's default `vst3` feature; see [features] above. nih_plug = { git = "https://github.com/robbert-vdh/nih-plug.git", rev = "f36931f7af4646065488a9845d8f8c2f95252c23", default-features = false, features = ["assert_process_allocs"] } nih_plug_egui = { git = "https://github.com/robbert-vdh/nih-plug.git", rev = "f36931f7af4646065488a9845d8f8c2f95252c23" } [profile.release] lto = "thin" strip = "symbols" [profile.profiling] inherits = "release" debug = true strip = "none"