Commit Graph

23 Commits

Author SHA1 Message Date
222762782d Bump the version to 0.1.1 2020-10-17 00:43:30 +02:00
bd4e8107d6 Cargo update 2020-10-17 00:42:48 +02:00
2e6d55cb12 Gracefully handle subproces errors/shutdowns 2020-10-17 00:41:55 +02:00
d85966ce04 Move color_eyre::install() to main() 2020-10-17 00:41:23 +02:00
431dc61c98 Dropping driver without quiting hangs the process 2020-10-17 00:40:25 +02:00
b7ff296c65 Just use a single function to spawn Gecko Driver 2020-10-17 00:39:42 +02:00
7311b09f28 Add support for building and running a Docker image 2020-10-10 21:15:19 +02:00
4d86a505f3 Add/tweak just a bit of fancy logging 2020-10-10 21:14:10 +02:00
991b98f5f1 Panic if the login fails 2020-10-10 21:13:49 +02:00
1498c4f671 Just use port 4444 for Gecko Driver; don't pass the binary 2020-10-10 21:13:23 +02:00
43479fe13e Small tweak 2020-10-10 21:11:34 +02:00
881c71bced Use tokio to spawn the Gecko Driver; shutdown appropriately 2020-10-09 23:07:31 +02:00
de36521ed7 Move the login credentials to a config file 2020-10-09 19:47:43 +02:00
786e9dbd74 Use println to log status updates (for now) 2020-10-09 18:36:36 +02:00
99d8a4c133 Pass the gecko driver port as spawn argument 2020-10-09 17:44:03 +02:00
00aeed1803 Use thirtyfour (async); spawn the update loop 2020-10-09 17:40:48 +02:00
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
e579d62e7f Reorder code for consistency 2020-10-09 17:09:25 +02:00
063b8c5fe6 Use a lazy static to store the last status 2020-10-09 17:07:18 +02:00
390e31d51c Print errors during retrieval loop 2020-10-09 16:54:02 +02:00
dc8808bf5e Split off the login/element value code; create a status struct 2020-10-09 16:50:11 +02:00
0754e580bd Switch to the thirtyfour(_sync) crate
Also use color_eyre for error handling/reporting.
2020-10-09 16:33:27 +02:00
2294383e6e Initial import into Git 2020-10-09 16:33:25 +02:00