NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #2972 most downloaded on crates.io
A collection of excellent utilities for nom
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
One column per quarter.
Nothing published for this version
Version bump; clean up Cargo.toml
Version bump; clean up Cargo.toml
std and error features
mod error is gated behind error and requires stdNom 6 may be dropped in a future release, but for now there haven't been any breaking changes that are relevant to nom-supreme
parse_from_str now works with parsers over any input type.
parse_from_str now works with parsers over any input type.Added array and separated_array to ParserExt
array and separated_array to ParserExtbrownstone dependencyAdd cutting versions of Result combinators, which return Failure in the event that the mapping function returns an Err.
Result combinators, which return Failure in the event that the mapping function returns an Err.
map_res_cut (thanks @loewenheim)parse_from_str_cutParserExt at the toplevelmultiParserExtcascade dependencyAdd collect_separated_terminated
ExtractContext<E2> for Result<T, E1>collect_separated_terminatedmultimultiAdd with_recognized combinator to ParserExt.
with_recognized combinator to ParserExt.Update changelog; bump to 0.4.2
Update changelog; bump to 0.4.2
ErrorConvert for ErrorTree, enabling its use in bit parsersErrorTree doctests.ErrorTree.ParserExt::parse_from_str.Major typo fix; bump to 0.4.1
Major typo fix; bump to 0.4.1
ErrorTree documentation.Changes to how ErrorTree and Expectation handle ErrorKind::Eof:
ErrorTree and Expectation handle ErrorKind::Eof:
ErrorKind::Eof is 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 intendedExpectation::Byte and Expectation::AnyChar, replaced them with Expectation::Something.ErrorTree::Stack
BaseErrorKind into BaseErrorKind andBaseErrorKind::External now reports the error message on an indented line.ErrorTree changes.nom_supreme::error docs.ErrorTree.Add comprehensive unit tests to parse_separated_terminated
ParserExt::parse_from_strparse_separated_terminatedparse_from_str based on ParserExtImprovements to parse_separated_terminated
Improvements to parse_separated_terminated
parse_separated_terminated now works correctly as documented: it smartly detects when the parser is hanging and bail if necessary.parse_separated_terminated is 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.Added comprehensive doctests to ParserExt
ParserExtParserExt::by_refParserExt::delimited_byParserExt::by_ref, which borrows a parser so that it can have combinators applied to it without giving up ownership.ParserExt::delimited_by:
delimited_by in favor of simply using .preceded_by(..).terminated(..).ParserExt::delimited_by_both to ParserExt::delimited_by, and added a dedicated parser type, such that it no longer requires Clone on the delimiter parser.ParserExt methods..peek() combinator to ParserExt
.peek() combinator to ParserExt.not() combinator to ParserExtExpectation::AnyChar and Expectation::Byteparse_from_str example now actually shows parse_from_str
No code changes
parse_from_str example now actually shows parse_from_str- Changelog started cool_asserts
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →