In your proc-macro crate, you can add fv-template
as a dependency. Consumers of your proc-macros don't need to depend on fv-template
themselves.
For details on what field-value templates are and why you might want to use them, see the docs.
This library is intended to be used by proc-macro authors, like emit
. It doesn't define any macros of its own.
See the examples
directory for a sample that uses fv-template
in a proc-macro and a consuming application.