Kaan Barmore-Genç
5c6b38f7b0
Do retry update after a failure & fix tests ( #94 )
...
* Do retry update after a failure & fix tests
* Fix formatting
* Fix clippy errors
* Add codecov ignore for ip_source files
2023-02-13 00:58:23 -05:00
jannikac
8413555d2f
Implement thiserror and improve output formatting ( #91 )
...
* implemented an error struct with all possible errors using thiserror
* Replaced die_with with ClientError enum derived with thiserror.
This enables prettier and more structured error handling than anyhow
* Added proper parsing of Gandi API Responses.
This also makes it possible to output prettier logs.
* improved error message
* anyhow is better for main fn because it outputs anyhow errors correctly
2023-02-10 22:08:54 -05:00
Kaan Barmore-Genç
27a60d3ac2
Add new IP source "seeip" ( #90 )
2023-02-01 23:19:57 -05:00
Kaan Barmore-Genç
f8060fad42
Avoid multiple main versions & concurrently get ipv4 and ipv6 addresses ( #87 )
...
* Avoid having multiple versions of main run function
* Concurrently get ipv4 and ipv6 addresses
2023-02-01 00:21:02 -05:00
jannikac
041c1109e0
Fix linter suggestions ( #68 )
...
* removed unneeded lifetimes
* removed unneccessary imports
* removed unneccessary return statements
* added derive eq -> linter suggestion
* removed unneccessary references
* made code more concise
* ok_or_else instead of ok_or improves performance -> linter suggestion
2022-12-18 00:53:48 -05:00
Kaan Barmore-Genç
eaabec35b4
Add option to use icanhazip as an IP source ( #40 )
...
* Add option to use icanhazip as an IP source
* skip IP source API tests in CI
2022-08-23 01:17:17 -04:00
Kaan Barmore-Genç
90c5485cce
Add first test ( #38 )
...
* wip
* wip implement test
* complete test
* add lint and test actions
* fix bad format
2022-08-22 22:20:10 -04:00