Skip to content

A proc macro to sync docs from generated prost code into s2-sdk-rust's custom types

License

Notifications You must be signed in to change notification settings

s2-streamstore/sync_docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");

About

A proc macro to sync docs from generated prost code into s2-sdk-rust's custom types

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages