summaryrefslogtreecommitdiff
path: root/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* existential types in rust are weirdstuebinm2022-02-091-51/+38
| | | | … lots and lots of traits …
* S-Bahns are weirdstuebinm2022-02-081-1/+25
| | | | (added a simple zugportal.de api client, but can't do auto-checkin yet)
* we'll be there in -1000 minutes isn't helpfulstuebinm2022-02-021-1/+11
|
* pretty print pretty printing codestuebinm2022-02-011-209/+224
|
* are we there yet?stuebinm2022-02-011-0/+23
| | | | | (also why do people get up from their seats a solid nine minutes before the train is even scheduled to arrive at all?)
* handle (esp. iceportal) timestamps correctlystuebinm2022-02-011-3/+3
| | | | | why use unix time if you can use unix time * 1000 while your margin of error will never be lower than a full minute?
* display iceportal itinery & stopsstuebinm2022-02-011-3/+7
| | | | | | | I'm pretty sure something in parsing the times is broken, since this train is currently /also/ broken I have absolutely no idea what the correct ones would be and don't have the energy to dig further into this.
* add `traveltext destination`stuebinm2022-02-011-0/+17
| | | | I have no intention of going to Hamburg today, so I need to check out earlier
* sadly i'm not on a ICE right nowstuebinm2022-01-261-4/+10
|
* add a config file because why notstuebinm2022-01-261-24/+65
|
* some code deduplicationsstuebinm2022-01-251-69/+88
|
* hacky proof of conceptstuebinm2022-01-251-0/+145