Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle the case where there's no availability data for a given station. | Harald Eilertsen | 2019-02-24 | 1 | -7/+14 |
| | |||||
* | Let errors propagate out of main too. | Harald Eilertsen | 2019-02-24 | 1 | -6/+11 |
| | | | | | Makes error messages from the program slightly nicer, but still a bit cryptic for the casual user. | ||||
* | Add api to fetch availability data as well. | Harald Eilertsen | 2019-02-23 | 1 | -1/+7 |
| | |||||
* | Propagate errors from api calls to caller. | Harald Eilertsen | 2019-02-23 | 1 | -2/+2 |
| | | | | | | | | | This defines an ApiResult type, and a corresponding Error type which wraps any errors that can be returned from underlying libs. Prevents panics due to unwraps in the core api. The main app still unwraps, and will panic on any error, though. Fix that later. | ||||
* | Deserialize stations json data into native rust struct. | Harald Eilertsen | 2019-02-23 | 1 | -1/+6 |
| | |||||
* | Initial commit, basic app skeleton. | Harald Eilertsen | 2019-02-23 | 1 | -0/+26 |