From 8100cff32bf0c87dc19fba78f3faac8090f863da Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 29 Mar 2023 13:08:09 +0200 Subject: Another reqrite... 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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index a7c789f..a271637 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ serde_json = "1.0" serde_qs = "0.8" tokio = { version = "1.27", features = ["full"] } url = "2.2" -zotapi-derive = { version = "0.1.0", path = "zotapi-derive" } +#zotapi-derive = { version = "0.1.0", path = "zotapi-derive" } [dev-dependencies] base64 = "0.13" -- cgit v1.2.3