2 unstable releases
0.2.0 | Dec 11, 2024 |
---|---|
0.1.0 | Dec 10, 2024 |
#347 in Procedural macros
567 downloads per month
Used in 2 crates
(via streamstore)
14KB
304 lines
sync_docs
This proc macro allows us to inject documentation from prost generated rust file into our sdk types, mainly beneficial to avoid having to duplicate the documentation.
In build.rs
of your repository, specify filename of the generated rust file.
println!("cargo:rustc-env=COMPILED_PROST_FILE=s2.v1alpha.rs");
Dependencies
~220–670KB
~16K SLoC