aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Another reqrite...Harald Eilertsen2023-03-291-1/+1
| | | | | | | | | | | | | | | | | | Third time must be where it sits I hope. I felt the API was getting a bit too distracted by unnecessary constructs and abstractions, so I'm trying to simplify it by making it more straight forward. The idea now is to have one main API class (ZotApi), and all the various remote API's as public methods on this basic class. Iow, the ZotApi class is mainly based on the existing `Client` class, which is then being phased out. And instead of having each API tied to the data type they return, I'm just adding methods that will return the respective data types. This should reduce coupling between the returned data, and the API calls themselves.
* Update some dependencies.devHarald Eilertsen2023-03-281-1/+1
|
* Add ZotAPI trait and derive macro.Harald Eilertsen2023-03-271-0/+1
| | | | | | | | | The idea is to try to generate more of the boilerplate code, but for now we only do the `z()` method definition. There are also some we're not quite able to replace yet (like XChanRequest) since it also has life times. It's a start anyways :)
* Move to Rust 2021 edition.Harald Eilertsen2023-03-261-1/+1
| | | | | Doesn't seem like anything is changing re our code, but might as well just stay with the lates.
* Update reqwest and make async.Harald Eilertsen2021-07-051-1/+2
| | | | | | | | This means adding the full tokio as a dependency. While there isn't much gain to going async in the current cli demo app, a full fledged app may have more to gain by it. First foray into async rust, so I might not do it right...
* Update dependenciesHarald Eilertsen2021-07-051-5/+5
|
* Promote example app to proper command line client.Your Name2020-05-031-2/+2
|
* Update MockitoYour Name2020-05-011-1/+1
|
* abconfig: reorg + parse result into struct.Harald Eilertsen2020-01-041-0/+1
|
* Use Url crate and move paths to submodules.Harald Eilertsen2020-01-031-0/+1
|
* Replace serde_urlencoded with serde_qs.Harald Eilertsen2020-01-011-1/+1
| | | | Simplifies serialization of various types quite a bit.
* Update deps.Harald Eilertsen2020-01-011-2/+2
|
* tests: Verify authorization properly.Harald Eilertsen2020-01-011-0/+1
|
* Update to Mockito 0.19 for smoother tests.Harald Eilertsen2019-07-291-1/+1
| | | | | Provides matching against query params, so we don't need the ugly regexes anymore.
* Use clap_app macro to define args at compile time.Harald Eilertsen2019-06-091-1/+1
| | | | | | For some reason the clap_app macro does not accept subcommands with hyphens, so the subcommands `channel-strean` and `network-stream` has been changed to `channel` and `network` respectively.
* Use rust edition 2018.Harald Eilertsen2019-06-091-0/+1
|
* Update to mockito 0.14.Harald Eilertsen2018-11-191-1/+1
|
* Add new "master" example, to contain all examples as subcommands.Harald Eilertsen2018-09-241-0/+1
| | | | Only implements fetching the channel-stream for now.
* Upgrade dep reqwest to 0.9.1.Harald Eilertsen2018-09-221-1/+1
|
* Add support for fetching xchan data by address.Harald Eilertsen2018-08-211-0/+1
| | | | | | | Not entirely happy with it, have updated the signature of Client::fetch_stream and Client::url to take args, which are left out if they're not serializable (or empty, I hope.) Should probably use an Option instead, or maybe even two entry points for the api.
* Refactoring: Make Client::post_data helper.Harald Eilertsen2018-08-201-0/+1
| | | | | This means we don't need to access internal data members of the Client in builder structs an the like.
* Add licence blurb to sources.Harald Eilertsen2018-08-191-0/+16
|
* Add example of using the channel stream api.Harald Eilertsen2018-08-071-0/+2
|
* First iteration of getting channel stream from server.Harald Eilertsen2018-08-071-0/+4
|
* Rename lib, drop dash.Harald Eilertsen2018-08-031-1/+1
|
* Zet ze ztage...Harald Eilertsen2018-08-021-0/+6