| Crates.io | syntaxfmt-macros |
| lib.rs | syntaxfmt-macros |
| version | 0.2.2 |
| created_at | 2025-10-19 22:37:11.769698+00 |
| updated_at | 2025-11-01 18:38:29.935452+00 |
| description | Procedural macros for the syntaxfmt crate. |
| homepage | https://github.com/jngls/syntaxfmt |
| repository | https://github.com/jngls/syntaxfmt |
| max_upload_size | |
| id | 1891054 |
| size | 86,671 |
Procedural macros for the syntaxfmt crate.
This crate provides the #[derive(SyntaxFmt)] macro that automatically implements the SyntaxFmt trait for your types.
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.
This project is dual licensed under MIT OR Apache-2.0.