1
0
Fork 0

Grab plugin URLs from the Cargo.toml file

This commit is contained in:
Robbert van der Helm 2022-11-11 18:08:10 +01:00
parent d4b93cfdee
commit aa7d5195ce
9 changed files with 10 additions and 8 deletions

View file

@ -111,7 +111,7 @@ impl Default for BuffrGlitchParams {
impl Plugin for BuffrGlitch { impl Plugin for BuffrGlitch {
const NAME: &'static str = "Buffr Glitch"; const NAME: &'static str = "Buffr Glitch";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");

View file

@ -297,7 +297,7 @@ impl Default for CrispParams {
impl Plugin for Crisp { impl Plugin for Crisp {
const NAME: &'static str = "Crisp"; const NAME: &'static str = "Crisp";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");

View file

@ -161,7 +161,7 @@ impl Default for Crossover {
impl Plugin for Crossover { impl Plugin for Crossover {
const NAME: &'static str = "Crossover"; const NAME: &'static str = "Crossover";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");

View file

@ -253,7 +253,7 @@ enum SpreadStyle {
impl Plugin for Diopser { impl Plugin for Diopser {
const NAME: &'static str = "Diopser"; const NAME: &'static str = "Diopser";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");

View file

@ -113,6 +113,8 @@ impl Default for GainParams {
impl Plugin for Gain { impl Plugin for Gain {
const NAME: &'static str = "Gain"; const NAME: &'static str = "Gain";
const VENDOR: &'static str = "Moist Plugins GmbH"; const VENDOR: &'static str = "Moist Plugins GmbH";
// You can use `env!("CARGO_PKG_HOMEPAGE")` to reference the homepage field from the
// `Cargo.toml` file here
const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ"; const URL: &'static str = "https://youtu.be/dQw4w9WgXcQ";
const EMAIL: &'static str = "info@example.com"; const EMAIL: &'static str = "info@example.com";

View file

@ -115,7 +115,7 @@ impl Default for LoudnessWarWinnerParams {
impl Plugin for LoudnessWarWinner { impl Plugin for LoudnessWarWinner {
const NAME: &'static str = "Loudness War Winner"; const NAME: &'static str = "Loudness War Winner";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");

View file

@ -160,7 +160,7 @@ impl Default for PubertySimulatorParams {
impl Plugin for PubertySimulator { impl Plugin for PubertySimulator {
const NAME: &'static str = "Puberty Simulator"; const NAME: &'static str = "Puberty Simulator";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");

View file

@ -149,7 +149,7 @@ impl Default for SafetyLimiter {
impl Plugin for SafetyLimiter { impl Plugin for SafetyLimiter {
const NAME: &'static str = "Safety Limiter"; const NAME: &'static str = "Safety Limiter";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");

View file

@ -258,7 +258,7 @@ impl SpectralCompressorParams {
impl Plugin for SpectralCompressor { impl Plugin for SpectralCompressor {
const NAME: &'static str = "Spectral Compressor"; const NAME: &'static str = "Spectral Compressor";
const VENDOR: &'static str = "Robbert van der Helm"; const VENDOR: &'static str = "Robbert van der Helm";
const URL: &'static str = "https://github.com/robbert-vdh/nih-plug"; const URL: &'static str = env!("CARGO_PKG_HOMEPAGE");
const EMAIL: &'static str = "mail@robbertvanderhelm.nl"; const EMAIL: &'static str = "mail@robbertvanderhelm.nl";
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &'static str = env!("CARGO_PKG_VERSION");