Fix import to AsyncBufReadExt

This commit is contained in:
Olivier 'reivilibre' 2022-03-12 19:23:31 +00:00
parent 380dbb57a5
commit 62421df181
1 changed files with 1 additions and 4 deletions

View File

@ -1,8 +1,5 @@
use super::dfa::{Cylon, Rule}; use super::dfa::{Cylon, Rule};
use futures_util::{ use futures_util::io::{AsyncBufRead, AsyncBufReadExt, AsyncRead, BufReader, Result};
io::{AsyncBufRead, AsyncRead, BufReader, Result},
AsyncBufReadExt,
};
use serde_derive::{Deserialize, Serialize}; use serde_derive::{Deserialize, Serialize};
const UA_PREFIX: &str = "user-agent:"; const UA_PREFIX: &str = "user-agent:";
#[cfg(feature = "crawl-delay")] #[cfg(feature = "crawl-delay")]