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

Installing the command-line executable

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

cargo install syncdoc

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

Adding syncdoc macro(s) as a dependency

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

cargo add syncdoc

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

syncdoc = "0.5.2"

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

Read the syncdoc documentation.

Back to the crate overview.