updated all deps
migrated away from paste and async-std
This commit is contained in:
@@ -3,8 +3,7 @@ use std::cell::RefCell;
|
||||
use std::rc::Rc;
|
||||
|
||||
use async_once_cell::OnceCell;
|
||||
use async_std::stream;
|
||||
use futures::StreamExt;
|
||||
use futures::{StreamExt, stream};
|
||||
use hashbrown::{HashMap, HashSet};
|
||||
use itertools::Itertools;
|
||||
use never::Never;
|
||||
@@ -159,7 +158,7 @@ impl Parser for MacroLine {
|
||||
.get_or_init(async {
|
||||
let rep = Reporter::new();
|
||||
let rules = rules.borrow_mut().take().expect("once cell initializer runs");
|
||||
let rules = stream::from_iter(rules)
|
||||
let rules = stream::iter(rules)
|
||||
.then(|(body_name, placeholders, index, pos, pattern_macv)| {
|
||||
let cctx = &cctx;
|
||||
let rep = &rep;
|
||||
@@ -182,7 +181,7 @@ impl Parser for MacroLine {
|
||||
}
|
||||
}
|
||||
})
|
||||
.flat_map(stream::from_iter)
|
||||
.flat_map(stream::iter)
|
||||
.collect::<Vec<_>>()
|
||||
.await;
|
||||
let own_kws = keywords.keys().cloned().collect_vec();
|
||||
|
||||
Reference in New Issue
Block a user