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:
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -1084,7 +1084,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "diopser"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"nih_plug",
|
||||
"nih_plug_vizia",
|
||||
@@ -4011,7 +4011,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "spectral_compressor"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"nih_plug",
|
||||
"nih_plug_vizia",
|
||||
|
||||
@@ -44,7 +44,7 @@ impl Plugin for BuffrGlitch {
|
||||
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;
|
||||
|
||||
@@ -300,7 +300,7 @@ impl Plugin for Crisp {
|
||||
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 = NUM_CHANNELS;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = NUM_CHANNELS;
|
||||
|
||||
@@ -164,7 +164,7 @@ impl Plugin for Crossover {
|
||||
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 = NUM_CHANNELS;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = NUM_CHANNELS;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "diopser"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
@@ -256,7 +256,7 @@ impl Plugin for Diopser {
|
||||
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug";
|
||||
const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
|
||||
|
||||
const VERSION: &'static str = "0.2.0";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -116,7 +116,7 @@ impl Plugin for Gain {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -76,7 +76,7 @@ impl Plugin for Gain {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -73,7 +73,7 @@ impl Plugin for Gain {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -72,7 +72,7 @@ impl Plugin for Gain {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -24,7 +24,7 @@ impl Plugin for MidiInverter {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 0;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 0;
|
||||
|
||||
@@ -146,7 +146,7 @@ impl Plugin for PolyModSynth {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -103,7 +103,7 @@ impl Plugin for Sine {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 0;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -88,7 +88,7 @@ impl Plugin for Stft {
|
||||
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
|
||||
const EMAIL: &'static str = "info@example.com";
|
||||
|
||||
const VERSION: &'static str = "0.0.1";
|
||||
const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
const DEFAULT_INPUT_CHANNELS: u32 = 2;
|
||||
const DEFAULT_OUTPUT_CHANNELS: u32 = 2;
|
||||
|
||||
@@ -118,7 +118,7 @@ impl Plugin for LoudnessWarWinner {
|
||||
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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -152,7 +152,7 @@ impl Plugin for SafetyLimiter {
|
||||
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;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "spectral_compressor"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
authors = ["Robbert van der Helm <mail@robbertvanderhelm.nl>"]
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
@@ -261,7 +261,7 @@ impl Plugin for SpectralCompressor {
|
||||
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug";
|
||||
const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
|
||||
|
||||
const VERSION: &'static str = "0.2.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