mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 07:20:55 +00:00
refactor(parser): Update for mod consolidation
This commit is contained in:
parent
8e87aa62a9
commit
9fa2ba225b
@ -3,11 +3,11 @@ use std::str;
|
||||
|
||||
use winnow::Parser;
|
||||
use winnow::ascii::digit1;
|
||||
use winnow::branch::alt;
|
||||
use winnow::combinator::{cut_err, fail, fold_repeat, not, opt, peek, repeat};
|
||||
use winnow::combinator::{
|
||||
alt, cut_err, fail, fold_repeat, not, opt, peek, preceded, repeat, separated0, separated1,
|
||||
terminated,
|
||||
};
|
||||
use winnow::error::{ErrorKind, ParserError as _};
|
||||
use winnow::multi::{separated0, separated1};
|
||||
use winnow::sequence::{preceded, terminated};
|
||||
use winnow::token::{one_of, tag, take_till0};
|
||||
|
||||
use crate::{
|
||||
|
@ -12,10 +12,8 @@ use std::{fmt, str};
|
||||
|
||||
use winnow::Parser;
|
||||
use winnow::ascii::escaped;
|
||||
use winnow::branch::alt;
|
||||
use winnow::combinator::{cut_err, fail, not, opt, repeat};
|
||||
use winnow::combinator::{alt, cut_err, delimited, fail, not, opt, preceded, repeat};
|
||||
use winnow::error::{ErrorKind, FromExternalError};
|
||||
use winnow::sequence::{delimited, preceded};
|
||||
use winnow::stream::AsChar;
|
||||
use winnow::token::{any, one_of, tag, take_till0, take_till1, take_while};
|
||||
|
||||
|
@ -1,10 +1,9 @@
|
||||
use std::str;
|
||||
|
||||
use winnow::Parser;
|
||||
use winnow::branch::alt;
|
||||
use winnow::combinator::{cut_err, eof, fail, not, opt, peek, repeat};
|
||||
use winnow::multi::{separated0, separated1};
|
||||
use winnow::sequence::{delimited, preceded};
|
||||
use winnow::combinator::{
|
||||
alt, cut_err, delimited, eof, fail, not, opt, peek, preceded, repeat, separated0, separated1,
|
||||
};
|
||||
use winnow::token::{any, tag, take_till0};
|
||||
|
||||
use crate::memchr_splitter::{Splitter1, Splitter2, Splitter3};
|
||||
|
@ -1,8 +1,5 @@
|
||||
use winnow::Parser;
|
||||
use winnow::branch::alt;
|
||||
use winnow::combinator::opt;
|
||||
use winnow::multi::separated1;
|
||||
use winnow::sequence::preceded;
|
||||
use winnow::combinator::{alt, opt, preceded, separated1};
|
||||
use winnow::token::one_of;
|
||||
|
||||
use crate::{
|
||||
|
Loading…
x
Reference in New Issue
Block a user