syntaxfmt-macros

Crates.iosyntaxfmt-macros
lib.rssyntaxfmt-macros
version0.2.2
created_at2025-10-19 22:37:11.769698+00
updated_at2025-11-01 18:38:29.935452+00
descriptionProcedural macros for the syntaxfmt crate.
homepagehttps://github.com/jngls/syntaxfmt
repositoryhttps://github.com/jngls/syntaxfmt
max_upload_size
id1891054
size86,671
Alex (jngls)

documentation

https://docs.rs/syntaxfmt

README

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.

Commit count: 0

cargo fmt