matsche
Joined 8 years ago
Joined 8 years ago
Basically this a just a futures_timer::Delay [0] that is reset after each request, which is non blocking.
rust-headless-chrome was very helpful for some parts and bootstrapped some parts of chromiumoxide, such as the key and mouse clicking. However I looked at chromedp and puppeteer itself for the most part.
The JSON protocol definition files are then in fact being generated from those pdl files. You find them mirrored in the devtools-protocol-repo [1]
[0] https://chromedevtools.github.io/devtools-protocol/ [1] https://github.com/ChromeDevTools/devtools-protocol/
I once implemented the crossref api in rust in order to search for publications from the command line https://github.com/mattsse/crossref-rs