Paul van Tilburg
31e8ca65af
Cargo update
2022-10-17 19:54:57 +02:00
Paul van Tilburg
ac2e83868c
Update to Rocket 0.5-rc.2; cargo update
...
Also switch to the 2021 edition and fully specify the minimal crate
versions for existing dependencies.
2022-08-22 21:07:56 +02:00
Paul van Tilburg
855d2a7eed
Add README.md, Rocket.toml.example and LICENSE file
...
Also link the files from the crate and include README.md documentation.
2022-08-22 21:07:17 +02:00
Paul van Tilburg
d8f61486f9
Replace the lazy_static by once_cell crate
2022-02-11 14:17:27 +01:00
Paul van Tilburg
368d8324f6
Drop tokio; it is used no longer
2021-08-29 11:01:48 +02:00
Paul van Tilburg
570cf95497
Drop thirtyfour/webdriver; use reqwest instead
...
* Set up a reqwest client using a cookie store
* Log in and update periodically using the reqwest client
2021-08-29 11:01:48 +02:00
Paul van Tilburg
e65468bde8
Port to rocket 0.5.0-rc1 and Thirtyfour 0.19.0
...
Also switch to using tokio 1.6.1 (this is the version that Rocket uses).
We only need to use the "process" feature from that.
The rocket-contrib crate has been dropped by upstream.
2021-06-13 20:52:23 +02:00
Paul van Tilburg
222762782d
Bump the version to 0.1.1
2020-10-17 00:43:30 +02:00
Paul van Tilburg
43479fe13e
Small tweak
2020-10-10 21:11:34 +02:00
Paul van Tilburg
881c71bced
Use tokio to spawn the Gecko Driver; shutdown appropriately
2020-10-09 23:07:31 +02:00
Paul van Tilburg
de36521ed7
Move the login credentials to a config file
2020-10-09 19:47:43 +02:00
Paul van Tilburg
00aeed1803
Use thirtyfour (async); spawn the update loop
2020-10-09 17:40:48 +02:00
Paul van Tilburg
ac5b853a27
Add Rocket and provide an API endpoint to read the status
...
Use Rocket from Git (master) which is the 0.5 dev release that
builds on stable Rust.
2020-10-09 17:31:08 +02:00
Paul van Tilburg
063b8c5fe6
Use a lazy static to store the last status
2020-10-09 17:07:18 +02:00
Paul van Tilburg
0754e580bd
Switch to the thirtyfour(_sync) crate
...
Also use color_eyre for error handling/reporting.
2020-10-09 16:33:27 +02:00
Paul van Tilburg
2294383e6e
Initial import into Git
2020-10-09 16:33:25 +02:00