#macro #parser #companion #graph #compile #import #dot-parser

macro dot-parser-macros

This crate contains companion proc macros for the dot_parser crate

4 releases (2 breaking)

0.3.3 Oct 23, 2024
0.3.0 Jul 8, 2024
0.2.0 May 26, 2024
0.1.0 May 26, 2024

#1606 in Procedural macros

Download history 16/week @ 2024-07-29 8/week @ 2024-09-16 17/week @ 2024-09-23 140/week @ 2024-10-21 7/week @ 2024-10-28 14/week @ 2024-11-04

161 downloads per month

GPL-2.0-or-later

91KB
2K SLoC

This is a companion crate of dot_parser, providing a macro to statically import a DOT/Graphviz graph.


lib.rs:

This crate provides two macros [from_dot_file!] and [from_dot_string!], which help parsing graph files at compile time.

Dependencies

~3MB
~60K SLoC