Commit Graph

41 Commits

Author SHA1 Message Date
Kaan Barmore-Genç 706251c4d8
Update to 1.8.0 2023-02-13 01:04:05 -05:00
Kaan Barmore-Genç d4dffb19e9
Update deps (#95) 2023-02-13 01:03:34 -05:00
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ç b71a78118b
Release 1.7.0 2023-02-01 23:24:09 -05:00
Kaan Barmore-Genç 7e7a9da65e
Switch back to die-exit (#86)
We had temporarily moved to die-exit-2, a forked release, but the
original project has made a release now!
2023-01-31 00:16:02 -05:00
Kaan Barmore-Genç e95cf42b69
Update dependencies (#85) 2023-01-31 00:07:02 -05:00
Kaan Barmore-Genç e2a343c59e
Update dependencies 2022-12-18 01:41:14 -05:00
Kaan Barmore-Genç 1250e512f9
Update to forked die-exit to this can be published on crates.io 2022-11-13 16:18:32 -05:00
Kaan Barmore-Genç 985ce8ea5c
release 1.5.0 2022-11-13 15:53:56 -05:00
Kaan Barmore-Genç 039d8933ad
Update dependencies (#59)
* Update dependencies

* Make sure tests run on main
2022-11-13 15:46:20 -05:00
Kaan Barmore-Genç 3daee43540
1.4.0 2022-08-23 01:21:28 -04:00
Kaan Barmore-Genç e91a9c5c4f
Update deps 2022-08-23 01:20:30 -04: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
Kaan Barmore-Genç 49154e5f2f
release 1.3.0 2022-07-20 23:19:16 -04:00
Kaan Barmore-Genç e556c00901
update dependency versions 2022-07-20 23:14:33 -04:00
Kaan Barmore-Genç 05a3fb6c89
Fix spawn local panic about local set 2022-06-09 22:11:42 -04:00
dependabot[bot] c05b0a8494
Bump tokio from 1.17.0 to 1.19.0 (#19)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.17.0 to 1.19.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.19.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 21:29:21 -04:00
dependabot[bot] e4938a3f95
Bump serde from 1.0.136 to 1.0.137 (#14)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 20:39:25 -04:00
dependabot[bot] df672c0f48
Bump clap from 3.1.12 to 3.1.18 (#17)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.12 to 3.1.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.12...v3.1.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 20:39:16 -04:00
Kaan Barmore-Genç ffa22a6f8d
Merge pull request #12 from SeriousBug/dependabot/cargo/clap-3.1.12
Bump clap from 3.1.9 to 3.1.12
2022-04-23 13:23:14 -04:00
dependabot[bot] 3d41d3ae44
Bump clap from 3.1.9 to 3.1.12
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.9 to 3.1.12.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.9...v3.1.12)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 07:18:31 +00:00
dependabot[bot] 85588f8c95
Bump anyhow from 1.0.56 to 1.0.57
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.56...1.0.57)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 07:18:27 +00:00
Kaan Barmore-Genç 625a2b6b03
Merge pull request #10 from SeriousBug/dependabot/cargo/clap-3.1.9
Bump clap from 3.1.8 to 3.1.9
2022-04-17 23:06:15 -04:00
dependabot[bot] 9c61ea9bf1
Bump clap from 3.1.8 to 3.1.9
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.8...v3.1.9)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 07:13:09 +00:00
dependabot[bot] 04eac21083
Bump toml from 0.5.8 to 0.5.9
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.8...0.5.9)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 07:13:03 +00:00
Kaan Barmore-Genç 4032fbe7ff update dependencies & switch to clap
`structopt` is maintanence-only, and `clap` seems to be the successor.
2022-04-03 21:27:45 -04:00
Kaan Barmore-Genç b61e3d76cf bump version for new release 2022-03-10 21:25:51 -05:00
Kaan Barmore-Genç 2f9cdbd105 add rate limiting 2022-03-10 21:18:41 -05:00
Kaan Barmore-Genç 948521fcc4 fix incorrect name on version string 2022-01-30 04:48:24 -05:00
Kaan Barmore-Genç 7eca3fbe5f Rename binary, 1.0.0 release, docker images 2022-01-27 01:22:05 -05:00
Kaan Genc fd6bbf9b92 switch to rustls 2022-01-25 23:57:24 -05:00
Kaan Genc 52af11101b update readme 2022-01-23 22:40:11 -05:00
Kaan Genc 66642836fa fix config issues 2022-01-23 22:26:57 -05:00
Kaan Genc 3a7620b6d5 Use die-exit to clean up exits 2022-01-23 16:12:27 -05:00
Kaan Genc c5ed8fe6ab fix type issues with tasks 2022-01-23 03:22:41 -05:00
Kaan Genc 093b99d69d almost done! 2021-12-24 20:20:31 -05:00
Kaan Genc cab2ecbdf1 successfully made a request! 2021-12-14 22:30:36 -05:00
Kaan Genc 68d992748e correct config loading 2021-12-12 03:49:21 -05:00
Kaan Genc 91c8463cd8 load config 2021-12-12 01:36:40 -05:00