code_reload_proc_macro is a procedural macro. It will run at compile time and transform your program's source code.

Installing the code_reload_proc_macro_bintest executable

Assuming you have Rust/Cargo installed, run this command in a terminal:

cargo install code_reload_proc_macro

It will make the code_reload_proc_macro_bintest command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall code_reload_proc_macro uninstalls.

Adding code_reload_proc_macro macro(s) as a dependency

Run this command in a terminal, in your project's directory:

cargo add code_reload_proc_macro

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

code_reload_proc_macro = "0.1.3"

You may need to import the macro(s) with use code_reload_proc_macro::*.

Read the code_reload_proc_macro documentation.

Back to the crate overview.