Open Folyd opened 4 years ago
Looks like it buffers everything up front when parsing. How would adding AsyncRead
benefit here?
Nvm looks like its possible if you don't try to pipe everything thought the From<StrTendil>
:
https://docs.rs/html5ever/0.25.1/html5ever/driver/struct.Parser.html
Just seems like a bit more work I guess
Document::from_read()
only supports traitstd::io::Read
, hope traitfutures::io::AsyncRead
is in the support plan. Just wondering any plan about this, or do you need PR, maybe I can do it.