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

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