Closed jjant closed 1 year ago
If you are wrapping the include_dir!()
macro with your own, would something like this work?
macro_rules! my_include_dir {
($path:literal) => {{
use $crate::include_dir;
$crate::include_dir::include_dir!($path)
}}
}
That indeed worked, thank you!
As I mentioned in #86, I tried to create my own crate which wraps
include_dir
to add specific behavior that I need. When trying to do this, I noticed that apparently the macro can't really be re-exported:I believe this SO gives a possible solution: https://stackoverflow.com/questions/70457235/how-to-reexpose-an-entire-crate-inline.