Commit a7d6f1c
Generate one file per XDR type (#520)
* generate one file per type instead of one big file
* group ifdef/else definitions into same file
* remove redundant cfg from mod/pub use lines
* move generated/mod.rs to generated.rs
* allow clippy::wildcard_imports in generated code
* makefile wildcard
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Revert "makefile wildcard"
This reverts commit 73b3da3.
* use find for rustfmt to avoid glob expansion issues
* add blank line after use import in generated files
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 5bc58f8 commit a7d6f1c
494 files changed
Lines changed: 53132 additions & 50506 deletions
File tree
- src
- generated
- xdr-generator-rust/generator
- src
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments