summaryrefslogtreecommitdiff
path: root/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update dependencies, hafas-rs -> railway-provider-hafasstuebinm2024-09-091-27/+27
| | | | | | | turns out the old hafas-rs project that started with trainsear.ch has since been picked up by some gnome people who use it for their (creatively named) Railway app. It's a lot more general now, though the documentation doesn't seem to have improved much 🙃
* do not require ds100 codes in API responsesstuebinm2024-09-091-1/+1
| | | | | these are not present when other hafas backends than the DB one were used for the trip's checkin.
* switch to another fork of hafas-rsstuebinm2023-04-171-0/+3
| | | | (yuka's version is no longer maintained & broke)
* add import from hafas to travelynxstuebinm2022-04-211-10/+134
| | | | (using yuka's hafas-rs)
* from / to commands for travelynxstuebinm2022-02-261-2/+33
|
* 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