aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add api to fetch availability data as well.Harald Eilertsen2019-02-231-1/+1
|
* Propagate errors from api calls to caller.Harald Eilertsen2019-02-231-0/+1
| | | | | | | | | 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 Eilertsen2019-02-231-0/+4
|
* Move Api to api module.Harald Eilertsen2019-02-231-30/+2
|
* Drop api_key from Api, not really needed.Harald Eilertsen2019-02-231-2/+1
|
* Fetch stations, dump response json to stdout.Harald Eilertsen2019-02-231-3/+22
|
* Initial commit, basic app skeleton.Harald Eilertsen2019-02-231-0/+30