chore: scaffold minimal NIH-plug template
Based on musiikki/codename-206 patterns. Provides a clean, minimal skeleton for new nih-plug audio plugins: - Cargo.toml with pinned NIH-plug deps (same rev as codename-206) - src/lib.rs — skeleton plugin with Params, Plugin impl, CLAP/VST3 - xtask/ — bundler xtask (cargo xtask bundle) - bundler.toml — placeholder for bundle name - .cargo/config.toml — xtask alias - .gitignore — /target, /nih-plug, /_template - LICENSE — Apache-2.0 - README.md — build and deploy instructions
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
[package]
|
||||
name = "nih_plug_template"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Your Name <your@email.com>"]
|
||||
homepage = "https://github.com/YOUR-USERNAME/YOUR-PLUGIN-NAME"
|
||||
description = "A minimal NIH-plug audio plugin"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[workspace]
|
||||
members = ["xtask"]
|
||||
|
||||
[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.
|
||||
nih_plug = { git = "https://github.com/robbert-vdh/nih-plug.git", rev = "f36931f7af4646065488a9845d8f8c2f95252c23", 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"
|
||||
Reference in New Issue
Block a user