+11
−2
+1
−1
Loading
This upgrades the nom parser combinator library to version 8.0.0, which was released on January 26, 2025. The upgrade was previously blocked by upstream issue rust-bakery/nom#1799 regarding type coercion for the Input trait, which has been resolved in the 8.0.0 release. Changes required for nom 8.0 compatibility: - Convert array literal tags from `tag(b"...")` to `tag(&b"..."[..])` to properly convert array references to slices - Add `use nom::Parser;` imports where the Parser trait is needed - Update parser invocations to use `.parse(input)` method or wrap in closures when passing to helper functions - Replace deprecated `tuple()` combinator with direct tuple syntax Fixes #237 Signed-off-by:Kefu Chai <tchaikov@gmail.com> Co-authored-by:
Nugine <nugine@foxmail.com>