genco

A whitespace-aware quasiquoter for beautiful code generation.

APACHE-2.0 License

Downloads
1.5M
Stars
182
Committers
3
genco - 0.17.9 Latest Release

Published by udoprog 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/udoprog/genco/compare/0.17.8...0.17.9

genco - 0.17.8

Published by udoprog 12 months ago

What's Changed

Full Changelog: https://github.com/udoprog/genco/compare/0.17.7...0.17.8

genco - 0.17.7

Published by udoprog about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/udoprog/genco/compare/0.17.6...0.17.7

genco - 0.17.6

Published by udoprog about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/udoprog/genco/compare/0.17.5...0.17.6

genco -

Published by udoprog over 2 years ago

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.
genco -

Published by udoprog over 2 years ago

Changed

  • Add basic support for using genco to tokenize on stable (#20).
genco -

Published by udoprog about 4 years ago

Fixed

  • Fixed typos in documentation.
  • Fixed new Clippy lints.
genco -

Published by udoprog over 4 years ago

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).
Package Rankings
Top 7.98% on Crates.io