diff --git a/plugins/diopser/src/lib.rs b/plugins/diopser/src/lib.rs index 988b8eae..137dab70 100644 --- a/plugins/diopser/src/lib.rs +++ b/plugins/diopser/src/lib.rs @@ -16,9 +16,6 @@ #![cfg_attr(feature = "simd", feature(portable_simd))] -#[macro_use] -extern crate nih_plug; - use nih_plug::prelude::*; use std::pin::Pin; use std::sync::atomic::{AtomicBool, Ordering}; diff --git a/plugins/examples/gain-gui/src/lib.rs b/plugins/examples/gain-gui/src/lib.rs index a7565089..7adb9dd0 100644 --- a/plugins/examples/gain-gui/src/lib.rs +++ b/plugins/examples/gain-gui/src/lib.rs @@ -1,6 +1,3 @@ -#[macro_use] -extern crate nih_plug; - use atomic_float::AtomicF32; use nih_plug::prelude::*; use nih_plug_egui::{create_egui_editor, egui, widgets, EguiState}; diff --git a/plugins/examples/gain/src/lib.rs b/plugins/examples/gain/src/lib.rs index 18e63893..20594e9b 100644 --- a/plugins/examples/gain/src/lib.rs +++ b/plugins/examples/gain/src/lib.rs @@ -1,6 +1,3 @@ -#[macro_use] -extern crate nih_plug; - use nih_plug::prelude::*; use parking_lot::RwLock; use std::pin::Pin; diff --git a/plugins/examples/sine/src/lib.rs b/plugins/examples/sine/src/lib.rs index 3c645bf2..5f866604 100644 --- a/plugins/examples/sine/src/lib.rs +++ b/plugins/examples/sine/src/lib.rs @@ -1,6 +1,3 @@ -#[macro_use] -extern crate nih_plug; - use nih_plug::prelude::*; use std::f32::consts; use std::pin::Pin; diff --git a/src/prelude.rs b/src/prelude.rs index 4c164b3a..d98cd808 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -1,7 +1,15 @@ // Re-export the proc macro pub use nih_plug_derive::Params; -pub use super::debug::*; +// And the other macros +pub use super::nih_debug_assert; +pub use super::nih_debug_assert_eq; +pub use super::nih_debug_assert_failure; +pub use super::nih_debug_assert_ne; +pub use super::nih_export_clap; +pub use super::nih_export_vst3; +pub use super::nih_log; + pub use super::formatters; pub use super::util;