This release brings several breaking changes:
- Error type for "position" is made generic
extra
property is now ignored when comparing LocatedSpan- Dependency on nom now uses with
default-features = false
offset
/line
/fragment
are now private attributes of theLocatedSpan
structure, to fix an undefined behavior is they are modified. You now have to use thelocation_offset()
,location_line()
, andfragment()
getters instead.LocatedSpanEx
is removed in favour of adding a generic type parameter toLocatedSpan
which defaults to to()
Additionally, there are a few documentation improvements:
- LocatedSpan should not be constructed in the middle of a parser.
- Fix typo in extra property docs for LocatedSpan
Finally, LocatedSpan
now implements Display
We decided that the crate was mature enough to release the version 1.0.0. It doesn't bring much new things, still we are proud of this big move! 🎉
Thanks to the people who made this release: @ProgVal, @peckpeck, @wycats, @dalance
Patch version: