this is likely because I am bad at rust but I struggled to get this working (though in theory it shouldn't be too difficult?)
I was hoping to be able to do something like:
let resp = reqwest::get(u).await?;
for token in html5gum::Tokenizer::new(&resp) { ... }
or even with bytes_stream
let resp = reqwest::get(u).await?.bytes_stream();
for token in html5gum::Tokenizer::new(&resp) { ... }
fell back on
let resp = reqwest::get(u).await?.text().await?;
for token in html5gum::Tokenizer::new(&resp) { ... }
but I'm pretty sure that's not going to stream the response and it's going to convert it back and forth from Bytes -> String -> Vec -> String unnecessarily