syntaxfmt-macros 0.2.2

Procedural macros for the syntaxfmt crate.
Documentation

syntaxfmt-macros

Procedural macros for the syntaxfmt crate.

This crate provides the #[derive(SyntaxFmt)] macro that automatically implements the SyntaxFmt trait for your types.

Usage

You should not use this crate directly. Instead, use the syntaxfmt crate which re-exports this functionality:

use syntaxfmt::SyntaxFmt;

#[derive(SyntaxFmt)]
struct MyType {
    field: String,
}

For complete documentation and examples, see the syntaxfmt documentation.

License

This project is dual licensed under MIT OR Apache-2.0.