dirmod
provides several convenience macros most useful in lib.rs, main.rs and mod.rs
to automatically declare mod
statements for all the files in the directory.
pub use
) statements (instead of directly exposing the module) for all/specific modulesfeatures
/target_os
/target_family
based on filename as parametersSince detecting the source file requires the proc_macro_span
feature,
Rust Nightly is required to compile this crate.