Compare commits

...

116 Commits

Author SHA1 Message Date
c0648c2b3c Remove unnecessary mut and document possible panic
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-27 14:34:14 +02:00
bfa9ac5621 Merge pull request #667 from vbrandl/dependabot/cargo/tempfile-3.8.0
Bump tempfile from 3.7.1 to 3.8.0
2023-08-27 14:18:55 +02:00
7ad2ce62ce Update Changelog 2023-08-21 04:07:38 +00:00
4eded27928 Bump tempfile from 3.7.1 to 3.8.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.7.1 to 3.8.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.1...v3.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 04:07:26 +00:00
b1c6f6ddcb Merge pull request #665 from vbrandl/dependabot/cargo/tokio-1.32.0
Bump tokio from 1.31.0 to 1.32.0
2023-08-17 10:40:40 +02:00
71a7948795 Update Changelog 2023-08-17 08:36:31 +00:00
65be7b7182 Bump tokio from 1.31.0 to 1.32.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 08:36:15 +00:00
800a57dea2 Merge pull request #664 from vbrandl/dependabot/cargo/anyhow-1.0.75
Bump anyhow from 1.0.74 to 1.0.75
2023-08-17 10:35:17 +02:00
ef77138915 Update Changelog 2023-08-17 04:36:24 +00:00
6e51f3068b Bump anyhow from 1.0.74 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.74 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-17 04:36:11 +00:00
9fb5cd83bb Merge pull request #663 from vbrandl/dependabot/cargo/serde_json-1.0.105
Bump serde_json from 1.0.104 to 1.0.105
2023-08-16 10:32:04 +02:00
f6efaf5425 Update Changelog 2023-08-16 08:28:30 +00:00
24bd6f0c57 Bump serde_json from 1.0.104 to 1.0.105
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.104 to 1.0.105.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 08:28:12 +00:00
a2eb11aa4f Merge pull request #662 from vbrandl/dependabot/cargo/anyhow-1.0.74
Bump anyhow from 1.0.72 to 1.0.74
2023-08-16 10:08:42 +02:00
cfa484dd18 Update Changelog 2023-08-16 08:03:43 +00:00
f3eaa83786 Bump anyhow from 1.0.72 to 1.0.74
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.74.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.74)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 08:03:25 +00:00
0281aa3100 Merge pull request #661 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.3.9
Bump tracing-bunyan-formatter from 0.3.8 to 0.3.9
2023-08-16 10:02:12 +02:00
ebfd779ac6 Update Changelog 2023-08-16 04:37:36 +00:00
5a6a200dfc Bump tracing-bunyan-formatter from 0.3.8 to 0.3.9
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.8 to 0.3.9.
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.3.8...v0.3.9)

---
updated-dependencies:
- dependency-name: tracing-bunyan-formatter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 04:37:22 +00:00
cafe5667e2 Merge pull request #660 from vbrandl/dependabot/cargo/tokio-1.31.0
Bump tokio from 1.30.0 to 1.31.0
2023-08-14 18:47:57 +02:00
c8bd205e01 Update Changelog 2023-08-14 04:11:50 +00:00
cc98174b5b Bump tokio from 1.30.0 to 1.31.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.30.0...tokio-1.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 04:11:35 +00:00
3d84199cfb Merge pull request #659 from vbrandl/dependabot/cargo/tokio-1.30.0
Bump tokio from 1.29.1 to 1.30.0
2023-08-10 08:59:54 +02:00
3888c8fbb1 Update Changelog 2023-08-10 04:27:31 +00:00
620db7d074 Bump tokio from 1.29.1 to 1.30.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-10 04:27:17 +00:00
eaec42be89 Merge pull request #658 from vbrandl/dependabot/cargo/tempfile-3.7.1
Bump tempfile from 3.7.0 to 3.7.1
2023-08-07 15:52:53 +02:00
8e22814b4d Update Changelog 2023-08-07 12:54:49 +00:00
e8cbbf6db8 Bump tempfile from 3.7.0 to 3.7.1
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.7.0 to 3.7.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.0...v3.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 12:54:32 +00:00
24ca8b0bbc Merge pull request #657 from vbrandl/dependabot/cargo/serde-1.0.183
Bump serde from 1.0.181 to 1.0.183
2023-08-07 14:53:34 +02:00
8df821536b Update Changelog 2023-08-07 08:46:39 +00:00
751d52b640 Bump serde from 1.0.181 to 1.0.183
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.181 to 1.0.183.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.181...v1.0.183)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 08:46:24 +00:00
5be61a3682 Merge pull request #656 from vbrandl/dependabot/cargo/tracing-actix-web-0.7.6
Bump tracing-actix-web from 0.7.5 to 0.7.6
2023-08-07 10:44:59 +02:00
e88f058240 Update Changelog 2023-08-07 04:18:16 +00:00
3e21b8342f Bump tracing-actix-web from 0.7.5 to 0.7.6
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.7.5 to 0.7.6.
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.7.5...v0.7.6)

---
updated-dependencies:
- dependency-name: tracing-actix-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 04:18:03 +00:00
77f6030b06 Merge pull request #655 from vbrandl/dependabot/cargo/serde-1.0.181
Bump serde from 1.0.180 to 1.0.181
2023-08-04 12:20:17 +02:00
c993d9551e Update Changelog 2023-08-04 04:46:34 +00:00
a6657a9f01 Bump serde from 1.0.180 to 1.0.181
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.180 to 1.0.181.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.181)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-04 04:46:20 +00:00
34d4bbcbf6 Merge pull request #654 from vbrandl/dependabot/cargo/serde-1.0.180
Bump serde from 1.0.179 to 1.0.180
2023-08-01 16:05:19 +02:00
eda109e63a Update Changelog 2023-08-01 05:01:42 +00:00
a4e8abfe70 Bump serde from 1.0.179 to 1.0.180
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.179 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.180)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 05:01:26 +00:00
43bca353d5 Merge pull request #653 from vbrandl/dependabot/cargo/serde-1.0.179
Bump serde from 1.0.177 to 1.0.179
2023-07-31 11:58:30 +02:00
a9810ae704 Update Changelog 2023-07-31 04:06:04 +00:00
d72eea53f0 Bump serde from 1.0.177 to 1.0.179
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.177 to 1.0.179.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.177...v1.0.179)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 04:05:49 +00:00
3dd6d70371 Merge pull request #652 from vbrandl/dependabot/cargo/serde-1.0.177
Bump serde from 1.0.176 to 1.0.177
2023-07-28 17:09:28 +02:00
81f99dba3d Update Changelog 2023-07-28 04:36:57 +00:00
2d17185a39 Bump serde from 1.0.176 to 1.0.177
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.176 to 1.0.177.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.176...v1.0.177)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-28 04:36:44 +00:00
88a3b3611b Merge pull request #651 from vbrandl/fix-pedantic-lints
Enable clippy::pedantic lints
2023-07-27 10:47:40 +02:00
4b8730d6e0 Fix pedantic clippy lints
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-27 10:44:26 +02:00
25aea0f04d Apply cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-27 10:38:34 +02:00
410a602638 Enable pedantic lints
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-27 10:37:23 +02:00
894afaa75d Fix or allow pedantic clippy lints 2023-07-27 10:37:16 +02:00
29710d9263 Merge pull request #650 from vbrandl/dependabot/cargo/serde-1.0.176
Bump serde from 1.0.175 to 1.0.176
2023-07-27 10:33:16 +02:00
d49a8d330b Update Changelog 2023-07-27 08:27:08 +00:00
cb746c949b Bump serde from 1.0.175 to 1.0.176
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.175 to 1.0.176.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.176)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 08:26:54 +00:00
f4a83aad2c Merge pull request #649 from vbrandl/dependabot/cargo/serde_json-1.0.104
Bump serde_json from 1.0.103 to 1.0.104
2023-07-27 10:26:14 +02:00
5765016163 Update Changelog 2023-07-27 04:04:57 +00:00
8ded2da3ee Bump serde_json from 1.0.103 to 1.0.104
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.104)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 04:04:43 +00:00
a5c99fa7f5 Merge pull request #648 from vbrandl/dependabot/cargo/serde-1.0.175
Bump serde from 1.0.173 to 1.0.175
2023-07-24 08:58:04 +02:00
caee48f4a4 Update Changelog 2023-07-24 06:54:38 +00:00
18af42ed58 Bump serde from 1.0.173 to 1.0.175
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.173 to 1.0.175.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.173...v1.0.175)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 06:54:21 +00:00
5505331599 Merge pull request #647 from vbrandl/dependabot/cargo/ructe-0.17.0
Bump ructe from 0.16.1 to 0.17.0
2023-07-24 08:53:36 +02:00
deec0a0fa6 Update Changelog 2023-07-24 04:06:57 +00:00
514960324c Bump ructe from 0.16.1 to 0.17.0
Bumps [ructe](https://github.com/kaj/ructe) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/kaj/ructe/releases)
- [Changelog](https://github.com/kaj/ructe/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kaj/ructe/compare/v0.16.1...v0.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 04:06:44 +00:00
f86c59fe41 Merge pull request #646 from vbrandl/dependabot/cargo/tempfile-3.7.0
Bump tempfile from 3.6.0 to 3.7.0
2023-07-21 13:05:45 +02:00
f7366f8939 Update Changelog 2023-07-21 11:02:09 +00:00
0c0c2331b1 Bump tempfile from 3.6.0 to 3.7.0
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.6.0 to 3.7.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 11:01:52 +00:00
92f3a15384 Merge pull request #645 from vbrandl/dependabot/cargo/serde-1.0.173
Bump serde from 1.0.171 to 1.0.173
2023-07-21 13:00:38 +02:00
93de768362 Update Changelog 2023-07-20 04:29:53 +00:00
ebee3bb272 Bump serde from 1.0.171 to 1.0.173
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.171 to 1.0.173.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.173)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 04:29:40 +00:00
23587a7099 Merge pull request #644 from vbrandl/dependabot/cargo/serde_json-1.0.103
Bump serde_json from 1.0.102 to 1.0.103
2023-07-18 09:55:25 +02:00
648e2b47ba Update Changelog 2023-07-18 07:51:27 +00:00
6f58f1f769 Bump serde_json from 1.0.102 to 1.0.103
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.102...v1.0.103)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 07:51:08 +00:00
b4bd8d2176 Merge pull request #643 from vbrandl/dependabot/cargo/anyhow-1.0.72
Bump anyhow from 1.0.71 to 1.0.72
2023-07-18 09:50:12 +02:00
19bc8126a8 Update Changelog 2023-07-18 07:18:24 +00:00
a790b6cca6 Bump anyhow from 1.0.71 to 1.0.72
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 07:18:08 +00:00
ae22e0f385 Merge pull request #642 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.3.8
Bump tracing-bunyan-formatter from 0.3.7 to 0.3.8
2023-07-18 09:17:25 +02:00
c9ccb2891c Update Changelog 2023-07-17 04:07:27 +00:00
9fbbad7157 Bump tracing-bunyan-formatter from 0.3.7 to 0.3.8
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.3.7 to 0.3.8.
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: tracing-bunyan-formatter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 04:07:13 +00:00
3789ddd152 Merge pull request #641 from vbrandl/dependabot/cargo/serde_json-1.0.102
Bump serde_json from 1.0.100 to 1.0.102
2023-07-12 20:07:22 +02:00
f25e883fd1 Update Changelog 2023-07-12 04:23:46 +00:00
a684341cd3 Bump serde_json from 1.0.100 to 1.0.102
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.100 to 1.0.102.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.100...v1.0.102)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-12 04:23:31 +00:00
3f42a03fa8 Merge pull request #640 from vbrandl/dependabot/cargo/serde-1.0.171
Bump serde from 1.0.167 to 1.0.171
2023-07-10 08:33:28 +02:00
8a71b308df Update Changelog 2023-07-10 04:12:17 +00:00
37f8a1d32e Bump serde from 1.0.167 to 1.0.171
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.167 to 1.0.171.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.167...v1.0.171)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 04:12:03 +00:00
84686aecdb Merge pull request #639 from vbrandl/dependabot/cargo/serde-1.0.167
Bump serde from 1.0.166 to 1.0.167
2023-07-07 09:30:43 +02:00
208a6db95c Update Changelog 2023-07-07 04:30:31 +00:00
d43ef2402e Bump serde from 1.0.166 to 1.0.167
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.166 to 1.0.167.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.167)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 04:30:18 +00:00
14e353fd26 Merge pull request #638 from vbrandl/dependabot/cargo/vergen-8.2.4
Bump vergen from 8.2.3 to 8.2.4
2023-07-06 09:29:42 +02:00
0735399ff9 Update Changelog 2023-07-06 04:09:58 +00:00
ef1e53637e Bump vergen from 8.2.3 to 8.2.4
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.3 to 8.2.4.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.3...8.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 04:09:42 +00:00
453963193f Merge pull request #637 from vbrandl/dependabot/cargo/serde_json-1.0.100
Bump serde_json from 1.0.99 to 1.0.100
2023-07-05 10:01:10 +02:00
7ebc300d6f Update Changelog 2023-07-05 04:26:58 +00:00
0520679022 Bump serde_json from 1.0.99 to 1.0.100
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.99...v1.0.100)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 04:26:40 +00:00
7b50187daa Merge pull request #635 from vbrandl/dependabot/cargo/vergen-8.2.3
Bump vergen from 8.2.1 to 8.2.3
2023-07-04 10:04:31 +02:00
eb0c8904d8 Apply cargo update and cargo upgrade
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-04 10:00:22 +02:00
0088b5f4b2 Update Changelog 2023-07-04 07:49:40 +00:00
40b19c259c Bump vergen from 8.2.1 to 8.2.3
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.1 to 8.2.3.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.1...8.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 07:49:24 +00:00
caebd865f6 Merge pull request #636 from vbrandl/dependabot/cargo/serde-1.0.166
Bump serde from 1.0.164 to 1.0.166
2023-07-04 09:48:49 +02:00
232c870078 Update Changelog 2023-07-04 04:19:30 +00:00
e12195a9b1 Bump serde from 1.0.164 to 1.0.166
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.164 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.166)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 04:19:15 +00:00
cb6423565c Merge pull request #634 from vbrandl/dependabot/cargo/tokio-1.29.1
Bump tokio from 1.29.0 to 1.29.1
2023-07-01 10:47:47 +02:00
9ea6f7c96c Update Changelog 2023-06-30 04:44:53 +00:00
9f0df6cdb4 Bump tokio from 1.29.0 to 1.29.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 04:44:37 +00:00
13806d73ab Merge pull request #633 from vbrandl/dependabot/cargo/tokio-1.29.0
Bump tokio from 1.28.2 to 1.29.0
2023-06-28 12:48:01 +02:00
b80817943b Update Changelog 2023-06-28 05:00:52 +00:00
be39e8b757 Bump tokio from 1.28.2 to 1.29.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.2 to 1.29.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 05:00:35 +00:00
49ba32ba94 Merge pull request #632 from vbrandl/dependabot/cargo/serde_json-1.0.99
Bump serde_json from 1.0.97 to 1.0.99
2023-06-26 12:26:14 +02:00
2c08b3d6af Update Changelog 2023-06-26 05:00:32 +00:00
fa0982b35c Bump serde_json from 1.0.97 to 1.0.99
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.97 to 1.0.99.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.97...v1.0.99)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:00:18 +00:00
ca2fd495d7 Merge pull request #631 from vbrandl/dependabot/cargo/openssl-0.10.55
Bump openssl from 0.10.50 to 0.10.55
2023-06-23 13:10:05 +02:00
a5c4c33d15 Update Changelog 2023-06-21 22:56:45 +00:00
1431f7263f Bump openssl from 0.10.50 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.50 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.50...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:56:31 +00:00
e5df767723 Merge pull request #630 from vbrandl/dependabot/cargo/serde_json-1.0.97
Bump serde_json from 1.0.96 to 1.0.97
2023-06-16 09:56:40 +02:00
e446b77536 Update Changelog 2023-06-16 04:59:57 +00:00
c6ca7401ce Bump serde_json from 1.0.96 to 1.0.97
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-16 04:59:42 +00:00
e3ed0a2417 Merge pull request #628 from vbrandl/fix/rust-ci
Some checks failed
Security audit / security_audit (push) Failing after 18s
/ Rustfmt (push) Failing after 47s
/ Clippy (push) Failing after 1m9s
/ Test Suite (ubuntu-latest) (push) Failing after 45s
continuous-integration/drone/push Build is passing
Remove usage of outdated actions
2023-06-13 11:13:24 +02:00
11 changed files with 510 additions and 468 deletions

View File

@ -42,13 +42,9 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Clippy Linting - name: Clippy Linting
run: cargo clippy --all-features -- -Dclippy::all run: cargo clippy --all-features -- -Dclippy::all -Dclippy::pedantic
# TODO
# run: cargo clippy --all-features -- -Dclippy::all -Dclippy::pedantic
- name: Clippy Test Linting - name: Clippy Test Linting
run: cargo clippy --tests -- -Dclippy::all run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
# TODO
# run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
test: test:

View File

@ -5,14 +5,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Dependencies ### Dependencies
- Bump `serde` from 1.0.160 to 1.0.164 (#613, #617, #627) - Bump `serde` from 1.0.160 to 1.0.183 (#613, #617, #627, #636, #639, #640, #645, [#648](https://github.com/vbrandl/hoc/pull/648), [#650](https://github.com/vbrandl/hoc/pull/650), [#652](https://github.com/vbrandl/hoc/pull/652), [#653](https://github.com/vbrandl/hoc/pull/653), [#654](https://github.com/vbrandl/hoc/pull/654), [#655](https://github.com/vbrandl/hoc/pull/655), [#657](https://github.com/vbrandl/hoc/pull/657))
- Bump `actions/cache` from 2 to 3 (#616) - Bump `actions/cache` from 2 to 3 (#616)
- Bump `tokio` from 1.28.0 to 1.28.2 (#618, #625) - Bump `tokio` from 1.28.0 to 1.32.0 (#618, #625, #633, #634, [#659](https://github.com/vbrandl/hoc/pull/659), [#660](https://github.com/vbrandl/hoc/pull/660), [#665](https://github.com/vbrandl/hoc/pull/665))
- Bump `reqwest` from 0.11.17 to 0.11.18 (#619) - Bump `reqwest` from 0.11.17 to 0.11.18 (#619)
- Bump `vergen` from 8.1.3 to 8.2.1 (#621, #622) - Bump `vergen` from 8.1.3 to 8.2.4 (#621, #622, #635, #638)
- Bump `tracing-actix-web` from 0.7.4 to 0.7.5 (#623) - Bump `tracing-actix-web` from 0.7.4 to 0.7.6 (#623, [#656](https://github.com/vbrandl/hoc/pull/656))
- Bump `git2` from 0.17.1 to 0.17.2 (#624) - Bump `git2` from 0.17.1 to 0.17.2 (#624)
- Bump `tempfile` from 3.5.0 to 3.6.0 (#626) - Bump `tempfile` from 3.5.0 to 3.8.0 (#626, [#646](https://github.com/vbrandl/hoc/pull/646), [#658](https://github.com/vbrandl/hoc/pull/658), [#667](https://github.com/vbrandl/hoc/pull/667))
- Bump `serde_json` from 1.0.96 to 1.0.105 (#630, #632, #637, #641, #644, [#649](https://github.com/vbrandl/hoc/pull/649), [#663](https://github.com/vbrandl/hoc/pull/663))
- Bump `openssl` from 0.10.50 to 0.10.55 (#631)
- Bump `tracing-bunyan-formatter` from 0.3.7 to 0.3.9 (#642, [#661](https://github.com/vbrandl/hoc/pull/661))
- Bump `anyhow` from 1.0.71 to 1.0.75 (#643, [#662](https://github.com/vbrandl/hoc/pull/662), [#664](https://github.com/vbrandl/hoc/pull/664))
- Bump `ructe` from 0.16.1 to 0.17.0 ([#647](https://github.com/vbrandl/hoc/pull/647))
## [0.35.0] 2023-05-04 ## [0.35.0] 2023-05-04

875
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -19,30 +19,30 @@ badgers = "1.2.0"
bytes = "1.4.0" bytes = "1.4.0"
config = { version = "0.13.3", features = ["toml"] } config = { version = "0.13.3", features = ["toml"] }
dotenvy = "0.15.7" dotenvy = "0.15.7"
futures = "0.3.27" futures = "0.3.28"
git2 = "0.17.2" git2 = "0.17.2"
lazy_static = "1.4.0" lazy_static = "1.4.0"
mime = "0.3" mime = "0.3"
number_prefix = "0.4.0" number_prefix = "0.4.0"
openssl-probe = "0.1.5" openssl-probe = "0.1.5"
reqwest = "0.11.18" reqwest = "0.11.18"
serde = "1.0.164" serde = "1.0.183"
serde_derive = "1.0.137" serde_derive = "1.0.166"
serde_json = "1.0.94" serde_json = "1.0.105"
tracing = "0.1.37" tracing = "0.1.37"
tracing-actix-web = "0.7.5" tracing-actix-web = "0.7.6"
tracing-bunyan-formatter = "0.3.6" tracing-bunyan-formatter = "0.3.9"
tracing-futures = "0.2.5" tracing-futures = "0.2.5"
tracing-log = "0.1.3" tracing-log = "0.1.3"
tracing-subscriber = { version = "0.3.17", features = ["registry", "env-filter"] } tracing-subscriber = { version = "0.3.17", features = ["registry", "env-filter"] }
[build-dependencies] [build-dependencies]
anyhow = "1.0.71" anyhow = "1.0.75"
ructe = { version = "0.16.1", features = ["mime03"] } ructe = { version = "0.17.0", features = ["mime03"] }
vergen = { version = "8.2.1", default-features = false, features = ["git", "gitoxide"] } vergen = { version = "8.2.4", default-features = false, features = ["git", "gitoxide"] }
[dev-dependencies] [dev-dependencies]
awc = "3.1.1" awc = "3.1.1"
ructe = "0.16.1" ructe = "0.17.0"
tempfile = "3.6.0" tempfile = "3.8.0"
tokio = "1.28.2" tokio = "1.32.0"

View File

@ -74,7 +74,7 @@ impl<'a> CacheState<'a> {
trace!("Calculating new cache"); trace!("Calculating new cache");
match self { match self {
CacheState::Old { mut cache, .. } => { CacheState::Old { mut cache, .. } => {
if let Some(mut cache) = cache.entries.get_mut(branch) { if let Some(cache) = cache.entries.get_mut(branch) {
cache.head = head; cache.head = head;
cache.count += count; cache.count += count;
cache.commits += commits; cache.commits += commits;

View File

@ -41,17 +41,14 @@ impl ResponseError for Error {
fn error_response(&self) -> HttpResponse { fn error_response(&self) -> HttpResponse {
let mut buf = Vec::new(); let mut buf = Vec::new();
match self { if let Error::BranchNotFound = self {
Error::BranchNotFound => { templates::p404_no_master_html(&mut buf, VERSION_INFO, 0).unwrap();
templates::p404_no_master_html(&mut buf, VERSION_INFO, 0).unwrap(); HttpResponse::NotFound().content_type("text/html").body(buf)
HttpResponse::NotFound().content_type("text/html").body(buf) } else {
} templates::p500_html(&mut buf, VERSION_INFO, 0).unwrap();
_ => { HttpResponse::InternalServerError()
templates::p500_html(&mut buf, VERSION_INFO, 0).unwrap(); .content_type("text/html")
HttpResponse::InternalServerError() .body(buf)
.content_type("text/html")
.body(buf)
}
} }
} }
} }

View File

@ -282,6 +282,7 @@ where
} }
pull(&path)?; pull(&path)?;
let (hoc, head, commits) = hoc(&service_url, &state.repos(), &state.cache(), branch)?; let (hoc, head, commits) = hoc(&service_url, &state.repos(), &state.cache(), branch)?;
#[allow(clippy::cast_precision_loss)]
let hoc_pretty = match NumberPrefix::decimal(hoc as f64) { let hoc_pretty = match NumberPrefix::decimal(hoc as f64) {
NumberPrefix::Standalone(hoc) => hoc.to_string(), NumberPrefix::Standalone(hoc) => hoc.to_string(),
NumberPrefix::Prefixed(prefix, hoc) => format!("{hoc:.1}{prefix}"), NumberPrefix::Prefixed(prefix, hoc) => format!("{hoc:.1}{prefix}"),

View File

@ -6,7 +6,7 @@ fn init() {
dotenvy::dotenv().ok(); dotenvy::dotenv().ok();
openssl_probe::init_ssl_cert_env_vars(); openssl_probe::init_ssl_cert_env_vars();
telemetry::init_subscriber(telemetry::get_subscriber("hoc", "info")) telemetry::init_subscriber(telemetry::get_subscriber("hoc", "info"));
} }
#[actix_rt::main] #[actix_rt::main]

View File

@ -15,6 +15,10 @@ pub fn get_subscriber(name: &str, env_filter: &str) -> impl Subscriber + Send +
.with(formatting_layer) .with(formatting_layer)
} }
/// # Panics
///
/// This panics if the `LogTracer` cannot be initialized or `subscriber` cannot be set as global
/// default.
pub fn init_subscriber(subscriber: impl Subscriber + Send + Sync) { pub fn init_subscriber(subscriber: impl Subscriber + Send + Sync) {
LogTracer::init().expect("Failed to set logger"); LogTracer::init().expect("Failed to set logger");
set_global_default(subscriber).expect("Failed to set tracing subscriber"); set_global_default(subscriber).expect("Failed to set tracing subscriber");

View File

@ -5,14 +5,14 @@ use tempfile::TempDir;
#[test] #[test]
fn no_repos() { fn no_repos() {
let repos = TempDir::new().unwrap(); let repos = TempDir::new().unwrap();
assert_eq!(0, count_repositories(&repos).unwrap()) assert_eq!(0, count_repositories(&repos).unwrap());
} }
#[test] #[test]
fn no_repos_for_provider() { fn no_repos_for_provider() {
let repos = TempDir::new().unwrap(); let repos = TempDir::new().unwrap();
let _provider = TempDir::new_in(&repos).unwrap(); let _provider = TempDir::new_in(&repos).unwrap();
assert_eq!(0, count_repositories(&repos).unwrap()) assert_eq!(0, count_repositories(&repos).unwrap());
} }
#[test] #[test]
@ -20,7 +20,7 @@ fn no_repos_for_owner() {
let repos = TempDir::new().unwrap(); let repos = TempDir::new().unwrap();
let provider = TempDir::new_in(&repos).unwrap(); let provider = TempDir::new_in(&repos).unwrap();
let _owner = TempDir::new_in(&provider).unwrap(); let _owner = TempDir::new_in(&provider).unwrap();
assert_eq!(0, count_repositories(&repos).unwrap()) assert_eq!(0, count_repositories(&repos).unwrap());
} }
#[test] #[test]
@ -29,7 +29,7 @@ fn one_repo_for_owner() {
let provider = TempDir::new_in(&repos).unwrap(); let provider = TempDir::new_in(&repos).unwrap();
let owner = TempDir::new_in(&provider).unwrap(); let owner = TempDir::new_in(&provider).unwrap();
let _repo = TempDir::new_in(&owner).unwrap(); let _repo = TempDir::new_in(&owner).unwrap();
assert_eq!(1, count_repositories(&repos).unwrap()) assert_eq!(1, count_repositories(&repos).unwrap());
} }
#[test] #[test]
@ -39,7 +39,7 @@ fn two_repos_for_owner() {
let owner = TempDir::new_in(&provider).unwrap(); let owner = TempDir::new_in(&provider).unwrap();
let _repo1 = TempDir::new_in(&owner).unwrap(); let _repo1 = TempDir::new_in(&owner).unwrap();
let _repo2 = TempDir::new_in(&owner).unwrap(); let _repo2 = TempDir::new_in(&owner).unwrap();
assert_eq!(2, count_repositories(&repos).unwrap()) assert_eq!(2, count_repositories(&repos).unwrap());
} }
#[test] #[test]
@ -51,7 +51,7 @@ fn two_repos_for_two_providers() {
let provider2 = TempDir::new_in(&repos).unwrap(); let provider2 = TempDir::new_in(&repos).unwrap();
let owner2 = TempDir::new_in(&provider2).unwrap(); let owner2 = TempDir::new_in(&provider2).unwrap();
let _repo2 = TempDir::new_in(&owner2).unwrap(); let _repo2 = TempDir::new_in(&owner2).unwrap();
assert_eq!(2, count_repositories(&repos).unwrap()) assert_eq!(2, count_repositories(&repos).unwrap());
} }
#[test] #[test]
@ -62,5 +62,5 @@ fn two_subdirs_in_one_repo() {
let repo = TempDir::new_in(&owner).unwrap(); let repo = TempDir::new_in(&owner).unwrap();
let _subdir1 = TempDir::new_in(&repo).unwrap(); let _subdir1 = TempDir::new_in(&repo).unwrap();
let _subdir2 = TempDir::new_in(&repo).unwrap(); let _subdir2 = TempDir::new_in(&repo).unwrap();
assert_eq!(1, count_repositories(&repos).unwrap()) assert_eq!(1, count_repositories(&repos).unwrap());
} }

View File

@ -25,14 +25,14 @@ pub async fn spawn_app() -> TestApp {
let listener = TcpListener::bind("127.0.0.1:0").expect("Failed to bind random port"); let listener = TcpListener::bind("127.0.0.1:0").expect("Failed to bind random port");
let port = listener.local_addr().unwrap().port(); let port = listener.local_addr().unwrap().port();
let address = format!("http://127.0.0.1:{}", port); let address = format!("http://127.0.0.1:{port}");
let _repo_dir = tempdir().expect("Cannot create repo_dir"); let repo_dir = tempdir().expect("Cannot create repo_dir");
let _cache_dir = tempdir().expect("Cannot create cache_dir"); let cache_dir = tempdir().expect("Cannot create cache_dir");
let mut settings = Settings::load().expect("Failed to read configuration."); let mut settings = Settings::load().expect("Failed to read configuration.");
settings.repodir = _repo_dir.path().to_path_buf(); settings.repodir = repo_dir.path().to_path_buf();
settings.cachedir = _cache_dir.path().to_path_buf(); settings.cachedir = cache_dir.path().to_path_buf();
let server = hoc::run(listener, settings) let server = hoc::run(listener, settings)
.await .await
@ -44,7 +44,7 @@ pub async fn spawn_app() -> TestApp {
TestApp { TestApp {
address, address,
_repo_dir, _repo_dir: repo_dir,
_cache_dir, _cache_dir: cache_dir,
} }
} }