| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.8.5 source code.tar.gz | 2025-03-02 | 55.3 kB | |
| 0.8.5 source code.zip | 2025-03-02 | 80.9 kB | |
| README.md | 2025-03-02 | 806 Bytes | |
| Totals: 3 Items | 137.0 kB | 0 | |
New features
- Add
#{|input, pos| ... }custom expr (https://github.com/kevinmehall/rust-peg/pull/395) - Allow type bounds (e.g.
Box<dyn Operand + 'input>) in rule return types (https://github.com/kevinmehall/rust-peg/pull/385) - Allow specifying generic arguments (e.g.
my_rule::<u32>()) when calling a rule. (https://github.com/kevinmehall/rust-peg/issues/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: https://github.com/kevinmehall/rust-peg/compare/0.8.4...0.8.5