Skip to content

0.8.5

Latest
Compare
Choose a tag to compare
@kevinmehall kevinmehall released this 02 Mar 19:51
· 1 commit to master since this release

New features

  • Add #{|input, pos| ... } custom expr (#395)
  • Allow type bounds (e.g. Box<dyn Operand + 'input>) in rule return types (#385)
  • Allow specifying generic arguments (e.g. my_rule::<u32>()) when calling a rule. (#396)

Deprecations

The never-documented ##method() syntax is deprecated because the ## token is not allowed by Rust edition 2024. It will be removed in rust-peg v0.9. ##method() can be replaced with #{|input, pos| input.method(pos) }.

Contributors

@kevinmehall @brasswood

Full Changelog: 0.8.4...0.8.5