Paul van Tilburg
45b3f52e71
Cargo update; fixes RUSTSEC-2020-0071
...
Fix the usage of a deprecated method.
2023-11-03 21:12:04 +01:00
Paul van Tilburg
ff12875a08
Bump the version to 0.3.2
Check and lint using Cargo / Check and lint (push) Successful in 2m41s
Release / Release (push) Successful in 1m20s
Release / Release Rust crate (push) Successful in 3m46s
Release / Release Docker image (push) Successful in 8m18s
2023-08-27 13:30:11 +02:00
Paul van Tilburg
3fed86d36f
Bump the version to 0.3.1
Check and lint using Cargo / Check and lint (push) Successful in 3m15s
Release / Release (push) Successful in 1m26s
Release / Release Rust crate (push) Successful in 4m15s
Release / Release Docker image (push) Successful in 11m37s
2023-08-26 11:50:26 +02:00
Paul van Tilburg
e1319dcfc2
Cargo update
2023-08-26 11:44:56 +02:00
Paul van Tilburg
0068f6e9de
Cargo update
Check and lint using Cargo / Check and lint (push) Successful in 3m9s
2023-06-08 11:10:06 +02:00
Paul van Tilburg
c070877384
Bump the version to 0.3.0
Check, Test and Lint Using Cargo / Lints (push) Successful in 3m8s
Check, Test and Lint Using Cargo / Check (push) Successful in 2m39s
2023-04-15 12:16:30 +02:00
Paul van Tilburg
12a797baa9
Cargo update
Check, Test and Lint Using Cargo / Check (push) Successful in 2m53s
Check, Test and Lint Using Cargo / Lints (push) Successful in 3m3s
2023-04-14 23:26:07 +02:00
Paul van Tilburg
5586ae4d70
Update build dependecy on the vergen crate to 8.1.1
...
This change allows for dropping the dependency on the `anyhow` crate.
2023-04-14 23:25:25 +02:00
Paul van Tilburg
02a4d1ca9b
Update to Rocket 0.5.0-rc.3
2023-03-24 14:38:42 +01:00
Paul van Tilburg
beb49373fb
Bump the version to 0.2.2
2023-03-22 15:00:35 +01:00
Paul van Tilburg
81e82e90da
Cargo update; fixes RUSTSEC-2023-0018
2023-03-22 13:37:56 +01:00
Paul van Tilburg
de1ad37b95
Use the vergen crate to generate version information
...
* Add depend on the `vergen` crate (only use the `build` and `git`
features)
* Add the build script `build.rs` to setup the environment variables
from the build system
* Update the printed version information to use these environment
variables
2023-01-29 15:22:47 +01:00
Paul van Tilburg
35209b6303
Bump the version to 0.2.1
2023-01-16 20:16:30 +01:00
Paul van Tilburg
e6b0357670
Add serde from rocket; drop depend on serde
2023-01-16 20:07:56 +01:00
Paul van Tilburg
ddcb375345
Introduce an error type for services
...
As a result, services don't always have to provide a `reqwest::Error`
but also return other errors. The error variant `Error::NotAuthorized`
in particular specifies that requests are not or no longer allowed and a
login should be (re)attempted. This way, services can indicate that it
is in this state and not have to provided a 403 status code
`reqwest::Error` to show this.
Add a depend on the `thiserror` crate for this.
2023-01-15 16:31:37 +01:00
Paul van Tilburg
e0151c3cde
Set last updated field to what is returned by API
...
In Hoymiles, the date of the last update is part of the API response.
Parse it and use that in `Status` instead of the timestamp provided by
the update loop.
Add a depend on the `chrono` crate for this.
2023-01-15 14:48:24 +01:00
Paul van Tilburg
70b117d11d
Cargo update
2023-01-14 15:55:48 +01:00
Paul van Tilburg
4088c37cd2
Bump the version to 0.2.0
2023-01-13 19:47:14 +01:00
Paul van Tilburg
b1dfea651f
Add first version of the Hoymiles service
2023-01-10 15:38:24 +01:00
Paul van Tilburg
87394f9fb9
Add service implementation; split off My Autarco support
2023-01-09 21:23:43 +01:00
Paul van Tilburg
5bf7f5d8de
Initial import into Git
...
This project is based on [Autarco
Scraper](https://git.luon.net/paul/autarco-scraper ) but will support
multiple services, not just My Autarco.
2023-01-08 15:39:14 +01:00