diff --git a/plugins/buffr_glitch/src/lib.rs b/plugins/buffr_glitch/src/lib.rs index 3ace9244..d9da6aee 100644 --- a/plugins/buffr_glitch/src/lib.rs +++ b/plugins/buffr_glitch/src/lib.rs @@ -111,7 +111,7 @@ impl Default for BuffrGlitchParams { impl Plugin for BuffrGlitch { const NAME: &'static str = "Buffr Glitch"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION"); diff --git a/plugins/crisp/src/lib.rs b/plugins/crisp/src/lib.rs index 8491fb55..fa4ad03e 100644 --- a/plugins/crisp/src/lib.rs +++ b/plugins/crisp/src/lib.rs @@ -297,7 +297,7 @@ impl Default for CrispParams { impl Plugin for Crisp { const NAME: &'static str = "Crisp"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION"); diff --git a/plugins/crossover/src/lib.rs b/plugins/crossover/src/lib.rs index ef5779bf..0aea7082 100644 --- a/plugins/crossover/src/lib.rs +++ b/plugins/crossover/src/lib.rs @@ -161,7 +161,7 @@ impl Default for Crossover { impl Plugin for Crossover { const NAME: &'static str = "Crossover"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION"); diff --git a/plugins/diopser/src/lib.rs b/plugins/diopser/src/lib.rs index 2d5747c5..e122e22e 100644 --- a/plugins/diopser/src/lib.rs +++ b/plugins/diopser/src/lib.rs @@ -253,7 +253,7 @@ enum SpreadStyle { impl Plugin for Diopser { const NAME: &'static str = "Diopser"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION"); diff --git a/plugins/examples/gain/src/lib.rs b/plugins/examples/gain/src/lib.rs index 027ce438..eb36297c 100644 --- a/plugins/examples/gain/src/lib.rs +++ b/plugins/examples/gain/src/lib.rs @@ -113,6 +113,8 @@ impl Default for GainParams { impl Plugin for Gain { const NAME: &'static str = "Gain"; 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 EMAIL: &'static str = "info@example.com"; diff --git a/plugins/loudness_war_winner/src/lib.rs b/plugins/loudness_war_winner/src/lib.rs index 187d2260..572880bc 100644 --- a/plugins/loudness_war_winner/src/lib.rs +++ b/plugins/loudness_war_winner/src/lib.rs @@ -115,7 +115,7 @@ impl Default for LoudnessWarWinnerParams { impl Plugin for LoudnessWarWinner { const NAME: &'static str = "Loudness War Winner"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION"); diff --git a/plugins/puberty_simulator/src/lib.rs b/plugins/puberty_simulator/src/lib.rs index 3f496852..35c3603e 100644 --- a/plugins/puberty_simulator/src/lib.rs +++ b/plugins/puberty_simulator/src/lib.rs @@ -160,7 +160,7 @@ impl Default for PubertySimulatorParams { impl Plugin for PubertySimulator { const NAME: &'static str = "Puberty Simulator"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION"); diff --git a/plugins/safety_limiter/src/lib.rs b/plugins/safety_limiter/src/lib.rs index c7220dab..dd1d03a5 100644 --- a/plugins/safety_limiter/src/lib.rs +++ b/plugins/safety_limiter/src/lib.rs @@ -149,7 +149,7 @@ impl Default for SafetyLimiter { impl Plugin for SafetyLimiter { const NAME: &'static str = "Safety Limiter"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION"); diff --git a/plugins/spectral_compressor/src/lib.rs b/plugins/spectral_compressor/src/lib.rs index 548bb319..64d56c0c 100644 --- a/plugins/spectral_compressor/src/lib.rs +++ b/plugins/spectral_compressor/src/lib.rs @@ -258,7 +258,7 @@ impl SpectralCompressorParams { impl Plugin for SpectralCompressor { const NAME: &'static str = "Spectral Compressor"; 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 VERSION: &'static str = env!("CARGO_PKG_VERSION");