refactor(parser): Update for dropping complete/streaming mod's

This commit is contained in:
Ed Page 2024-07-17 14:06:36 -05:00
parent 8a3cc9a1de
commit 6ae9f0c359
4 changed files with 5 additions and 7 deletions

View File

@ -4,7 +4,7 @@ use std::str;
use winnow::Parser;
use winnow::branch::alt;
use winnow::bytes::take_till0;
use winnow::character::complete::digit1;
use winnow::character::digit1;
use winnow::combinator::{consumed, cut_err, fail, map, not, opt, peek, recognize, value};
use winnow::error::{ErrorKind, ParseError as _};
use winnow::multi::{fold_many0, many0, separated0, separated1};

View File

@ -12,9 +12,8 @@ use std::{fmt, str};
use winnow::Parser;
use winnow::branch::alt;
use winnow::bytes::complete::{escaped, tag, take_while_m_n, take_while1};
use winnow::bytes::{any, take_till0, take_till1};
use winnow::character::complete::one_of;
use winnow::bytes::{any, one_of, tag, take_till0, take_till1, take_while_m_n, take_while1};
use winnow::character::escaped;
use winnow::combinator::{consumed, cut_err, fail, map, not, opt, recognize, value};
use winnow::error::{ErrorKind, FromExternalError};
use winnow::multi::{many0, many1};

View File

@ -2,8 +2,7 @@ use std::str;
use winnow::Parser;
use winnow::branch::alt;
use winnow::bytes::complete::tag;
use winnow::bytes::{any, take_till0};
use winnow::bytes::{any, tag, take_till0};
use winnow::combinator::{
consumed, cut_err, eof, fail, map, map_opt, not, opt, peek, recognize, value,
};

View File

@ -1,6 +1,6 @@
use winnow::Parser;
use winnow::branch::alt;
use winnow::character::complete::one_of;
use winnow::bytes::one_of;
use winnow::combinator::{consumed, map, map_res, opt};
use winnow::multi::separated1;
use winnow::sequence::preceded;