GitPedia
udoprog

udoprog/genco

A whitespace-aware quasiquoter for beautiful code generation.

12 Releases
Latest: 8mo ago
0.19.0Latest
udoprogudoprog·8mo ago·October 21, 2025
GitHub

📋 What's Changed

  • Clean up implementations and documentation by @udoprog in https://github.com/udoprog/genco/pull/61
  • Update Swift to support implementationOnly imports by @wtran-meta in https://github.com/udoprog/genco/pull/62
  • Hide implementation details and bump version by @udoprog in https://github.com/udoprog/genco/pull/63

New Contributors

  • @wtran-meta made their first contribution in https://github.com/udoprog/genco/pull/62
  • Full Changelog: https://github.com/udoprog/genco/compare/0.18.1...0.19.0
0.18.1
udoprogudoprog·9mo ago·September 7, 2025
GitHub

📋 What's Changed

  • Add Kotlin Support by @astinz in https://github.com/udoprog/genco/pull/60

New Contributors

  • @astinz made their first contribution in https://github.com/udoprog/genco/pull/60
  • Full Changelog: https://github.com/udoprog/genco/compare/0.18.0...0.18.1
0.18.0
udoprogudoprog·11mo ago·July 21, 2025
GitHub

📋 What's Changed

  • Stabilize by @udoprog in https://github.com/udoprog/genco/pull/59
  • Full Changelog: https://github.com/udoprog/genco/compare/0.17.10...0.18.0
0.17.10
udoprogudoprog·1y ago·November 13, 2024
GitHub

📋 What's Changed

  • Fix a lang nix with function edge case by @whs-dot-hk in https://github.com/udoprog/genco/pull/56
  • impl `FormatInto` for `Cow` for `str` and `[T]` by @teamplayer3 in https://github.com/udoprog/genco/pull/57
  • nit: Add std and alloc features and organize imports by @udoprog in https://github.com/udoprog/genco/pull/58

New Contributors

  • @teamplayer3 made their first contribution in https://github.com/udoprog/genco/pull/57
  • Full Changelog: https://github.com/udoprog/genco/compare/0.17.9...0.17.10
0.17.9
udoprogudoprog·2y ago·May 18, 2024
GitHub

📋 What's Changed

  • Add nix support by @whs-dot-hk in https://github.com/udoprog/genco/pull/54
  • Add support for variable declarations in templates by @swallez in https://github.com/udoprog/genco/pull/55

New Contributors

  • @swallez made their first contribution in https://github.com/udoprog/genco/pull/55
  • Full Changelog: https://github.com/udoprog/genco/compare/0.17.8...0.17.9
0.17.8
udoprogudoprog·2y ago·November 7, 2023
GitHub

📋 What's Changed

  • Fix incorrect syn usage by @udoprog in https://github.com/udoprog/genco/pull/51
  • Full Changelog: https://github.com/udoprog/genco/compare/0.17.7...0.17.8
0.17.7
udoprogudoprog·2y ago·October 9, 2023
GitHub

📋 What's Changed

  • Clean up macro parsing by @udoprog in https://github.com/udoprog/genco/pull/44
  • Fix typo in fake.rs by @ClementWalter in https://github.com/udoprog/genco/pull/46
  • Fix typo in readme by @whs-dot-hk in https://github.com/udoprog/genco/pull/48
  • Update to syn 2 by @tamird in https://github.com/udoprog/genco/pull/49

New Contributors

  • @ClementWalter made their first contribution in https://github.com/udoprog/genco/pull/46
  • @whs-dot-hk made their first contribution in https://github.com/udoprog/genco/pull/48
  • @tamird made their first contribution in https://github.com/udoprog/genco/pull/49
  • Full Changelog: https://github.com/udoprog/genco/compare/0.17.6...0.17.7
0.17.6
udoprogudoprog·2y ago·September 25, 2023
GitHub

📋 What's Changed

  • Add C support by @believeinlain in https://github.com/udoprog/genco/pull/38
  • Perform own detection for proc_macro_span (fixes #39) by @udoprog in https://github.com/udoprog/genco/pull/43

New Contributors

  • @believeinlain made their first contribution in https://github.com/udoprog/genco/pull/38
  • Full Changelog: https://github.com/udoprog/genco/compare/0.17.5...0.17.6
0.17.0
udoprogudoprog·3y ago·July 10, 2022
GitHub

Added

  • Added `FormatInto` implementation for `Arguments<'_>` (#26).

📋 Changed

  • All syntax has been changed from using `#` to `$` (#27).
  • `--cfg genco_nightly` has been deprecated in favor of using byte-span hacks to
  • detect whitespace between tokens on the same column.
0.16.0
udoprogudoprog·4y ago·February 4, 2022
GitHub

📋 Changed

  • Add basic support for using genco to tokenize on stable (#20).
0.15.1
udoprogudoprog·5y ago·October 13, 2020
GitHub

🐛 Fixed

  • Fixed typos in documentation.
  • Fixed new Clippy lints.
0.15.0
udoprogudoprog·6y ago·June 27, 2020
GitHub

🐛 Fixed

  • csharp: System must be imported ([#13]).

📋 Changed

  • Parse match blocks better by ignoring end condition for nested groups ([#13]).
  • Match arms containing parenthesis are now whitespace sensitive ([#13]).
  • Language items are no longer trait objects ([#14]).
  • Use a singly-linked list to improve how quickly we can iterate over language items in token streams ([#16]).
  • Pass formatting configuration by reference instead of by value when constructing a formatter ([#17]).

Added

  • Patterns are now parsed correctly to support alternatives separated by pipes ([#12]).
  • Added `quote_fn!` macro and added `FormatInto` to the prelude ([#13]).
  • [#17]: https://github.com/udoprog/genco/issues/17
  • [#16]: https://github.com/udoprog/genco/issues/16
  • [#14]: https://github.com/udoprog/genco/issues/14
  • [#13]: https://github.com/udoprog/genco/issues/13
  • [#12]: https://github.com/udoprog/genco/issues/12