blob: df46bd253a3ac8c1697af76aac7c1e3302368cfa [file] [log] [blame] [view]
Nika Layzell27726662017-10-24 23:16:35 -04001# syn_codegen
2
3This is an internal (not published on crates.io) crate which is used to generate
4the files in the `gen/` directory of `syn`. It is used to ensure that the
David Tolnay4b4c4b62018-01-06 13:48:05 -08005implementations for `Fold`, `Visit`, and `VisitMut` remain in sync with the
6actual AST.
Nika Layzell27726662017-10-24 23:16:35 -04007
8To run this program, run `cargo run` in this directory, and the `gen/` folder
9will be re-generated.
10
11This program is slow, and is therefore not run when building `syn` as part of
12the build script to save on compile time.