duplicate 2.0.1

Provides macros for duplication of code with variable substitution.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/// Returns the directory of the calling file as a &str
macro_rules! file_dir {
	() => {{
		let mut buf = std::path::PathBuf::from(file!());
		buf.pop();
		buf.to_str().unwrap().to_string().as_str()
	}};
}

#[cfg(feature = "default")]
mod default_features;
mod errors;
#[cfg(feature = "module_disambiguation")]
mod module_disambiguation;
mod no_features;
mod utils;