mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-30 14:31:36 +00:00
refactor(parser): Update for dropping complete/streaming mod's
This commit is contained in:
parent
8a3cc9a1de
commit
6ae9f0c359
@ -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};
|
||||
|
@ -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};
|
||||
|
@ -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,
|
||||
};
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user