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 {
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");