mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Use CARGO_PKG_VERSION for plugin versions
Instead of duplicating this. Means that plugin versions only need to be updated in the Cargo.toml file.
This commit is contained in:
@@ -163,7 +163,7 @@ impl Plugin for PubertySimulator {
|
||||
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug";
|
||||
const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
|
||||
|
||||
const VERSION: &'static str = "0.1.0";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
Reference in New Issue
Block a user