Commit Graph

20 Commits

Author SHA1 Message Date
03c51e2a2c
Bump the version to 0.3.5
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m10s
Release / Release (push) Successful in 1m14s
Release / Release Rust crate (push) Successful in 2m53s
Release / Release Docker image (push) Successful in 8m41s
2024-02-27 15:37:56 +01:00
d5eed08072
Bump the version to 0.3.4
Some checks failed
Check and lint using Cargo / Check and lint (push) Has been cancelled
Release / Release (push) Has been cancelled
Release / Release Rust crate (push) Has been cancelled
Release / Release Docker image (push) Has been cancelled
2024-02-27 15:28:09 +01:00
c61bbfef5b
Bump the version to 0.3.3
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m35s
Release / Release (push) Successful in 1m14s
Release / Release Rust crate (push) Successful in 3m28s
Release / Release Docker image (push) Successful in 11m19s
2023-11-03 21:25:03 +01:00
ff12875a08
Bump the version to 0.3.2
All checks were successful
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
3fed86d36f
Bump the version to 0.3.1
All checks were successful
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
c070877384
Bump the version to 0.3.0
All checks were successful
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
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
02a4d1ca9b
Update to Rocket 0.5.0-rc.3
All checks were successful
Check
Lints
2023-03-24 14:38:42 +01:00
beb49373fb
Bump the version to 0.2.2
All checks were successful
Check
Lints
2023-03-22 15:00:35 +01:00
bab9228b0f
Drop unused dependency on the toml crate 2023-03-22 13:38:16 +01:00
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
35209b6303
Bump the version to 0.2.1 2023-01-16 20:16:30 +01:00
e6b0357670
Add serde from rocket; drop depend on serde 2023-01-16 20:07:56 +01:00
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
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
4088c37cd2
Bump the version to 0.2.0 2023-01-13 19:47:14 +01:00
69f34e3243
Add Debian packaging via cargo-deb (closes: #4)
* Add the required metadata to `Cargo.toml`
* Add a systemd service unit file
* Use `Rocket.toml.example` as the default configuration
2023-01-10 16:59:20 +01:00
b1dfea651f
Add first version of the Hoymiles service 2023-01-10 15:38:24 +01:00
87394f9fb9 Add service implementation; split off My Autarco support 2023-01-09 21:23:43 +01:00
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