Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a tiny bit of documentation. | Harald Eilertsen | 2019-02-23 | 1 | -0/+8 |
| | |||||
* | Propagate errors from api calls to caller. | Harald Eilertsen | 2019-02-23 | 4 | -14/+72 |
| | | | | | | | | | 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 | 4 | -4/+49 |
| | |||||
* | Move Api to api module. | Harald Eilertsen | 2019-02-23 | 2 | -30/+50 |
| | |||||
* | Drop api_key from Api, not really needed. | Harald Eilertsen | 2019-02-23 | 1 | -2/+1 |
| | |||||
* | Fetch stations, dump response json to stdout. | Harald Eilertsen | 2019-02-23 | 1 | -3/+22 |
| | |||||
* | Initial commit, basic app skeleton. | Harald Eilertsen | 2019-02-23 | 2 | -0/+56 |