nom-supreme
A collection of excellent utilities for nom
0.8.0
12M downloads/mo
#2816 most downloaded on crates.io
Lucretiel/nom-supreme
What this package is like to depend on
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 6 months
Most releases are documented
notes for 16 of 19 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
19 releases · first in 2020
0 releases in the last 12 months
see the full history below
Release timeline
19 releases · Dec 2020 to Apr 2022
2021
2022
2023
2024
2025
2026
Releases
latest 19-
0.8.021 Apr 2022Nothing published for this version
-
0.7.005 Mar 2022Release notes
Open source →Changed
- Add
stdanderrorfeaturesmod erroris gated behinderrorand requiresstd
- Add
-
0.6.024 Aug 2021Release notes
Open source →Changed
- Add compatibility with Nom 7
- Nom 6 may be dropped in a future release, but for now there haven't been any breaking changes that are relevant to nom-supreme
- The separated_terminated parsers no longer add their own error context
- Minor internal changes to errors
- Add compatibility with Nom 7
-
0.5.016 Aug 2021 -
0.4.613 Aug 2021Release notes
Open source →Added
- Added
arrayandseparated_arraytoParserExt
Internal
- Minor implementation refactors
- Add
brownstonedependency
- Added
-
0.4.506 Aug 2021Release notes
Open source →Added
- Add cutting versions of
Resultcombinators, which returnFailurein the event that the mapping function returns anErr.- Add
map_res_cut(thanks @loewenheim) - Add
parse_from_str_cut
- Add
- Reexport
ParserExtat the toplevel
Fixed
- Fixed some edge case bugs in error handling in
multi
Internal
- Various internal refactorings of stuff in
ParserExt - Remove
cascadedependency
- Add cutting versions of
-
0.4.408 Jun 2021Release notes
Open source →Added
- Add
ExtractContext<E2> for Result<T, E1> - Add
collect_separated_terminated
Documentation
- Documentation refactoring in
multi
Changed
- Internal code style fixes
- Implementation improvements for parsers in
multi
- Add
-
0.4.326 May 2021 -
0.4.211 Mar 2021Release notes
Open source →Added
- Implement
ErrorConvertforErrorTree, enabling its use in bit parsers
Documentation
- Fix broken links in documentation.
- Fix incorrect example parser in
ErrorTreedoctests. - Add additional example content to
ErrorTree. - Add additional example to
ParserExt::parse_from_str.
- Implement
-
0.4.123 Dec 2020 -
0.4.023 Dec 2020Release notes
Open source →Changed
- Changes to how
ErrorTreeandExpectationhandleErrorKind::Eof:- Because
ErrorKind::Eofis used interchangeably by some nom parsers to refer to either "expected eof" or "unexpected eof", we examine the input via InputLength to determine which variant is intended - Removed
Expectation::ByteandExpectation::AnyChar, replaced them withExpectation::Something.
- Because
- Major changes to
ErrorTree::Stack- Now separately represents the context stack and base error as different types.
- Split
BaseErrorKindintoBaseErrorKindand
BaseErrorKind::Externalnow reports the error message on an indented line.
Internal
- Several updates to interior code, unit tests, and doctests, all related to the
ErrorTreechanges.
Documentation
- Proofread edits of most of the
nom_supreme::errordocs. - Added several doctests for
ErrorTree.
- Changes to how
-
0.3.122 Dec 2020Release notes
Open source →Added
ParserExt::parse_from_str
Tests
- Add comprehensive unit tests to
parse_separated_terminated
Internal
- Bump to [cool_asserts] 1.0.3
- Reimplement
parse_from_strbased onParserExt
-
0.3.021 Dec 2020Release notes
Open source →Added
parse_separated_terminatednow works correctly as documented: it smartly detects when the parser is hanging and bail if necessary.parse_separated_terminatedis now slightly smarter about error cases. If the separator successfully parses a 0-length match, the next item error will include the terminator error as well.
-
0.2.021 Dec 2020Release notes
Open source →- Added comprehensive doctests to
ParserExt - Added
ParserExt::by_ref - Reworked
ParserExt::delimited_by - Fixed broken doc links
- Changelog update
- Version bump
Release notes
Open source →Added
ParserExt::by_ref, which borrows a parser so that it can have combinators applied to it without giving up ownership.
Changed
- (BREAKING) Reworked
ParserExt::delimited_by:- Removed original
delimited_byin favor of simply using.preceded_by(..).terminated(..). - Renamed
ParserExt::delimited_by_bothtoParserExt::delimited_by, and added a dedicated parser type, such that it no longer requiresCloneon the delimiter parser.
- Removed original
Tests
- Added doctests to all
ParserExtmethods.
Documentation
- Fixed numerous broken documentation links.
- Added comprehensive doctests to
-
0.1.420 Dec 2020Release notes
Open source →Added
.peek()combinator toParserExt.not()combinator toParserExtExpectation::AnyCharandExpectation::Byte
Fixed
- Broken doctests
-
0.1.315 Dec 2020Release notes
Open source →No code changes
Documentation
parse_from_strexample now actually showsparse_from_str
-
0.1.214 Dec 2020 -
0.1.113 Dec 2020Nothing published for this version
-
0.1.013 Dec 2020Nothing published for this version