💥 Move re-exports to a prelude module

So you can import everything at once, because you're likely going to
need at least 90% of it anyways.
This commit is contained in:
Robbert van der Helm
2022-03-03 23:23:51 +01:00
parent f581294d7b
commit 4c0b07c578
14 changed files with 43 additions and 58 deletions

View File

@@ -208,7 +208,7 @@ pub fn derive_params(input: TokenStream) -> TokenStream {
self: std::pin::Pin<&Self>,
) -> std::collections::HashMap<&'static str, nih_plug::param::internals::ParamPtr> {
// This may not be in scope otherwise
use ::nih_plug::Param;
use ::nih_plug::param::Param;
let mut param_map = std::collections::HashMap::new();
#(#param_mapping_insert_tokens)*