Closed izissise closed 1 year ago
Hello, In order to make it possible to re-export hot_lib_reloader and use hot_module derive, a new parameter crate should be added, to specify the crate name in the context where the proc-macro is called.
hot_lib_reloader
hot_module
crate
I found other example of this in serde and tokio https://github.com/serde-rs/serde/blob/1fcda0ebdb2cfa050df42fded93ba07c14e4b683/test_suite/tests/test_serde_path.rs#L6
https://docs.rs/tokio/latest/tokio/attr.main.html#rename-package
Hello, In order to make it possible to re-export
hot_lib_reloader
and usehot_module
derive, a new parametercrate
should be added, to specify the crate name in the context where the proc-macro is called.I found other example of this in serde and tokio https://github.com/serde-rs/serde/blob/1fcda0ebdb2cfa050df42fded93ba07c14e4b683/test_suite/tests/test_serde_path.rs#L6
https://docs.rs/tokio/latest/tokio/attr.main.html#rename-package