Compare commits

...

70 Commits

Author SHA1 Message Date
af00647cf6 Bump version (v0.20.3)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-11-13 16:59:39 +01:00
47ae92091c Merge pull request #362 from vbrandl/dependabot/cargo/serde_json-1.0.69
Bump serde_json from 1.0.68 to 1.0.69
2021-11-13 16:52:00 +01:00
39e6739e6e Merge pull request #361 from vbrandl/dependabot/cargo/actix-rt-2.4.0
Bump actix-rt from 2.3.0 to 2.4.0
2021-11-13 16:50:23 +01:00
9921ddd18c Merge pull request #360 from vbrandl/dependabot/cargo/vergen-5.1.17
Bump vergen from 5.1.16 to 5.1.17
2021-11-13 16:50:06 +01:00
379e481914 Merge pull request #359 from vbrandl/dependabot/cargo/tokio-1.13.0
Bump tokio from 1.12.0 to 1.13.0
2021-11-13 16:49:36 +01:00
8f87af8164 Bump serde_json from 1.0.68 to 1.0.69
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 04:17:56 +00:00
2b01514f96 Bump actix-rt from 2.3.0 to 2.4.0
Bumps [actix-rt](https://github.com/actix/actix-net) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/actix/actix-net/releases)
- [Commits](https://github.com/actix/actix-net/compare/rt-v2.3.0...rt-v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-05 04:15:43 +00:00
0a794eb22c Bump vergen from 5.1.16 to 5.1.17
Bumps [vergen](https://github.com/rustyhorde/vergen) from 5.1.16 to 5.1.17.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.16...5.1.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-04 04:13:04 +00:00
a5445e90ec Bump tokio from 1.12.0 to 1.13.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 04:30:25 +00:00
bdd25aefd6 Bump version (v0.20.2)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-10-27 20:54:19 +02:00
2444b29734 Update tracing dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-27 20:53:34 +02:00
d298e5ecdb Merge pull request #355 from vbrandl/dependabot/cargo/vergen-5.1.16
Bump vergen from 5.1.15 to 5.1.16
2021-10-27 20:43:24 +02:00
3ecab29cdd Merge pull request #354 from vbrandl/dependabot/cargo/awc-3.0.0-beta.9
Bump awc from 3.0.0-beta.8 to 3.0.0-beta.9
2021-10-27 20:43:13 +02:00
c4638dc8aa Merge pull request #353 from vbrandl/dependabot/cargo/reqwest-0.11.6
Bump reqwest from 0.11.4 to 0.11.6
2021-10-27 20:43:01 +02:00
7ffa2ba9a2 Merge pull request #350 from vbrandl/dependabot/cargo/actix-rt-2.3.0
Bump actix-rt from 2.2.0 to 2.3.0
2021-10-27 20:42:53 +02:00
10f4390b75 Merge pull request #349 from vbrandl/dependabot/cargo/tracing-actix-web-0.4.0-beta.14
Bump tracing-actix-web from 0.4.0-beta.13 to 0.4.0-beta.14
2021-10-27 20:42:41 +02:00
a3b224a8df Bump vergen from 5.1.15 to 5.1.16
Bumps [vergen](https://github.com/rustyhorde/vergen) from 5.1.15 to 5.1.16.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.15...5.1.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-21 04:17:40 +00:00
45e20edb2b Bump awc from 3.0.0-beta.8 to 3.0.0-beta.9
Bumps [awc](https://github.com/actix/actix-web) from 3.0.0-beta.8 to 3.0.0-beta.9.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.0.0-beta.8...awc-v3.0.0-beta.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-21 04:17:30 +00:00
db763ff817 Bump reqwest from 0.11.4 to 0.11.6
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.4 to 0.11.6.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.4...v0.11.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-19 04:17:43 +00:00
449e1347f4 Bump actix-rt from 2.2.0 to 2.3.0
Bumps [actix-rt](https://github.com/actix/actix-net) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actix/actix-net/releases)
- [Commits](https://github.com/actix/actix-net/compare/rt-v2.2.0...rt-v2.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 04:19:40 +00:00
d57df16509 Bump tracing-actix-web from 0.4.0-beta.13 to 0.4.0-beta.14
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.4.0-beta.13 to 0.4.0-beta.14.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.4.0-beta.13...v0.4.0-beta.14)

---
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>
2021-10-11 04:24:00 +00:00
c1c499e003 Merge pull request #347 from vbrandl/dependabot/cargo/tracing-0.1.29
Bump tracing from 0.1.28 to 0.1.29
2021-10-07 13:25:11 +02:00
225d652545 Bump tracing from 0.1.28 to 0.1.29
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.28 to 0.1.29.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.28...tracing-0.1.29)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-07 04:19:21 +00:00
948f06ba33 Bump version (v0.20.1)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-10-06 09:42:42 +02:00
dcd8c41bb3 Update to tacit-css-1.5.5 2021-10-06 09:42:24 +02:00
0ab2c60f06 Bump version (v0.20.0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-10-06 09:15:49 +02:00
d20da8b1e3 Merge pull request #342 from vbrandl/dependabot/cargo/tracing-0.1.28
Bump tracing from 0.1.27 to 0.1.28
2021-10-06 09:05:16 +02:00
ffd1378b44 Bump tracing from 0.1.27 to 0.1.28
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 06:45:31 +00:00
ecce255ee2 Merge pull request #346 from vbrandl/dependabot/cargo/tracing-subscriber-0.2.25
Bump tracing-subscriber from 0.2.22 to 0.2.25
2021-10-06 08:44:30 +02:00
69410f10b6 Merge pull request #345 from vbrandl/dependabot/cargo/git2-0.13.23
Bump git2 from 0.13.22 to 0.13.23
2021-10-06 08:44:08 +02:00
340220d4ce Merge pull request #344 from vbrandl/dependabot/cargo/tracing-actix-web-0.4.0-beta.13
Bump tracing-actix-web from 0.4.0-beta.12 to 0.4.0-beta.13
2021-10-06 08:43:54 +02:00
27fb116d26 Merge pull request #343 from vbrandl/dependabot/cargo/tokio-1.12.0
Bump tokio from 1.11.0 to 1.12.0
2021-10-06 08:43:42 +02:00
228a1767f2 Merge pull request #339 from vbrandl/dependabot/cargo/serde_json-1.0.68
Bump serde_json from 1.0.67 to 1.0.68
2021-10-06 08:43:07 +02:00
7a45bc2d2e Bump tracing-subscriber from 0.2.22 to 0.2.25
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.22 to 0.2.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.22...tracing-subscriber-0.2.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 04:12:50 +00:00
f02b05f4e9 Bump git2 from 0.13.22 to 0.13.23
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.22 to 0.13.23.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.22...0.13.23)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 04:23:20 +00:00
04b58e53a6 Bump tracing-actix-web from 0.4.0-beta.12 to 0.4.0-beta.13
Bumps [tracing-actix-web](https://github.com/LukeMathWalker/tracing-actix-web) from 0.4.0-beta.12 to 0.4.0-beta.13.
- [Release notes](https://github.com/LukeMathWalker/tracing-actix-web/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-actix-web/compare/v0.4.0-beta.12...v0.4.0-beta.13)

---
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>
2021-09-22 04:16:03 +00:00
849ccb58d2 Bump tokio from 1.11.0 to 1.12.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.11.0...tokio-1.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 04:15:52 +00:00
aeeb688be2 Bump serde_json from 1.0.67 to 1.0.68
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.67...v1.0.68)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-15 04:19:07 +00:00
89b5d8cc60 Merge branch 'master' into dependabot/cargo/awc-3.0.0-beta.8
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-14 13:08:22 +02:00
19cae24133 Update serde_derive
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-14 13:07:16 +02:00
656cc009e1 Update Cargo.lock
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-14 13:03:18 +02:00
47c8229eb1 Merge branch 'master' into dependabot/cargo/awc-3.0.0-beta.8
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-14 12:53:50 +02:00
fba5070e8f Merge pull request #338 from vbrandl/dependabot/cargo/tracing-subscriber-0.2.22
Bump tracing-subscriber from 0.2.20 to 0.2.22
2021-09-14 12:39:33 +02:00
732f7b0ed9 Merge pull request #337 from vbrandl/dependabot/cargo/tracing-0.1.27
Bump tracing from 0.1.26 to 0.1.27
2021-09-14 12:39:20 +02:00
ecf34928f7 Merge pull request #335 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.2.6
Bump tracing-bunyan-formatter from 0.2.5 to 0.2.6
2021-09-14 12:39:11 +02:00
d0242e6e2e Merge pull request #333 from vbrandl/dependabot/cargo/git2-0.13.22
Bump git2 from 0.13.21 to 0.13.22
2021-09-14 12:38:41 +02:00
aacff0e63e Bump tracing-subscriber from 0.2.20 to 0.2.22
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.20 to 0.2.22.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 04:16:53 +00:00
d5f4304a60 Bump tracing from 0.1.26 to 0.1.27
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 04:16:43 +00:00
622a5a335a Bump tracing-bunyan-formatter from 0.2.5 to 0.2.6
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/LukeMathWalker/tracing-bunyan-formatter/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.2.5...v0.2.6)

---
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>
2021-09-13 04:21:31 +00:00
8f16fdf33c Bump awc from 3.0.0-beta.7 to 3.0.0-beta.8
Bumps [awc](https://github.com/actix/actix-web) from 3.0.0-beta.7 to 3.0.0-beta.8.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/awc-v3.0.0-beta.7...awc-v3.0.0-beta.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 04:20:10 +00:00
792a1f5743 Bump git2 from 0.13.21 to 0.13.22
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.21 to 0.13.22.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.21...0.13.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 04:19:59 +00:00
9900518d62 Bump version (v0.19.0)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-09-03 13:35:45 +02:00
d37f5ba32b Merge pull request #330 from vbrandl/chore/update-actix-web2
Update actix-web and tokio
2021-09-03 13:20:09 +02:00
bcb5650cc9 Update actix-web and tokio
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-03 13:13:03 +02:00
dff8151938 Merge branch 'master' of github.com:vbrandl/hoc
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-03 12:09:30 +02:00
9d71ef14fc Merge pull request #328 from vbrandl/dependabot/cargo/bytes-1.1.0
Bump bytes from 1.0.1 to 1.1.0
2021-09-03 12:09:24 +02:00
888e85b1f4 Mention sourcehut in readme 2021-09-03 12:04:38 +02:00
73e0bfad92 Bump bytes from 1.0.1 to 1.1.0
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.0.1...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 10:00:46 +00:00
ae4266044b Merge pull request #314 from vbrandl/dependabot/cargo/vergen-5.1.15
All checks were successful
continuous-integration/drone/push Build is passing
Bump vergen from 5.1.13 to 5.1.15
2021-09-03 12:00:45 +02:00
c5bae481da Merge pull request #317 from vbrandl/dependabot/cargo/git2-0.13.21
Bump git2 from 0.13.20 to 0.13.21
2021-09-03 12:00:34 +02:00
d71656295f Merge pull request #319 from vbrandl/dependabot/cargo/tracing-subscriber-0.2.20
Bump tracing-subscriber from 0.2.19 to 0.2.20
2021-09-03 12:00:23 +02:00
565a2e3129 Merge pull request #321 from vbrandl/dependabot/cargo/tracing-bunyan-formatter-0.2.5
Bump tracing-bunyan-formatter from 0.2.4 to 0.2.5
2021-09-03 12:00:12 +02:00
e2da36d2e9 Merge pull request #324 from vbrandl/dependabot/cargo/serde_json-1.0.67
Bump serde_json from 1.0.64 to 1.0.67
2021-09-03 12:00:03 +02:00
ad770f71ec Merge pull request #325 from vbrandl/dependabot/cargo/serde-1.0.130
Bump serde from 1.0.126 to 1.0.130
2021-09-03 11:59:46 +02:00
f87b6ee8f4 Bump serde from 1.0.126 to 1.0.130
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.130.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.130)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 04:21:03 +00:00
6322e6e7e3 Bump serde_json from 1.0.64 to 1.0.67
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.64 to 1.0.67.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.64...v1.0.67)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 04:20:56 +00:00
39592effd2 Bump tracing-bunyan-formatter from 0.2.4 to 0.2.5
Bumps [tracing-bunyan-formatter](https://github.com/LukeMathWalker/tracing-bunyan-formatter) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/LukeMathWalker/tracing-bunyan-formatter/releases)
- [Commits](https://github.com/LukeMathWalker/tracing-bunyan-formatter/compare/v0.2.4...v0.2.5)

---
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>
2021-08-23 04:23:35 +00:00
632638ddd8 Bump tracing-subscriber from 0.2.19 to 0.2.20
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.19 to 0.2.20.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.19...tracing-subscriber-0.2.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-18 04:20:08 +00:00
c4e31f2f67 Bump git2 from 0.13.20 to 0.13.21
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.20 to 0.13.21.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.20...0.13.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 04:22:12 +00:00
46d7ae030e Bump vergen from 5.1.13 to 5.1.15
Bumps [vergen](https://github.com/rustyhorde/vergen) from 5.1.13 to 5.1.15.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.13...5.1.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 04:21:48 +00:00
9 changed files with 552 additions and 929 deletions

1410
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[package] [package]
name = "hoc" name = "hoc"
version = "0.18.0" version = "0.20.3"
authors = ["Valentin Brandl <vbrandl@riseup.net>"] authors = ["Valentin Brandl <vbrandl@riseup.net>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
@ -13,33 +13,34 @@ path = "src/main.rs"
name = "hoc" name = "hoc"
[dependencies] [dependencies]
actix-rt = "1.1.1" actix-rt = "2.4.0"
actix-web = "3.3.2" actix-web = "4.0.0-beta.8"
badge = "0.3.0" badge = "0.3.0"
bytes = "1.0.1" bytes = "1.1.0"
config = { version = "0.11.0", features = ["toml"] } config = { version = "0.11.0", features = ["toml"] }
dotenv = "0.15.0" dotenv = "0.15.0"
futures = "0.3.15" futures = "0.3.17"
git2 = "0.13.20" git2 = "0.13.23"
lazy_static = "1.4.0" lazy_static = "1.4.0"
number_prefix = "0.4.0" number_prefix = "0.4.0"
openssl-probe = "0.1.4" openssl-probe = "0.1.4"
reqwest = "0.10.10" reqwest = "0.11.6"
serde = "1.0.126" serde = "1.0.130"
serde_derive = "1.0.123" serde_derive = "1.0.130"
serde_json = "1.0.64" serde_json = "1.0.69"
tracing = "0.1.26" tracing = "0.1.29"
tracing-actix-web = "0.2.1" tracing-actix-web = "0.4.0-beta.14"
tracing-bunyan-formatter = "0.2.4" tracing-bunyan-formatter = "0.3.0"
tracing-futures = "0.2.5" tracing-futures = "0.2.5"
tracing-log = "0.1.2" tracing-log = "0.1.2"
tracing-subscriber = { version = "0.2.19", features = ["registry", "env-filter"] } tracing-subscriber = { version = "0.3.1", features = ["registry", "env-filter"] }
[build-dependencies] [build-dependencies]
ructe = "0.13.4" ructe = "0.13.4"
vergen = { version = "5.1.13", default-features = false, features = ["git"] } vergen = { version = "5.1.17", default-features = false, features = ["git"] }
[dev-dependencies] [dev-dependencies]
awc = "3.0.0-beta.9"
ructe = "0.13.4" ructe = "0.13.4"
tempfile = "3.2.0" tempfile = "3.2.0"
tokio = "0.2.25" tokio = "1.13.0"

View File

@ -19,8 +19,8 @@ The API is as simple as
https://<host>/<service>/<user>/<repo> https://<host>/<service>/<user>/<repo>
``` ```
where `<service>` is one of `gitub`, `gitlab` or `bitbucket`. The HoC data can also be received as JSON by appending where `<service>` is one of `gitub`, `gitlab`, `bitbucket` or `sourcehut`. The HoC data can also be received as JSON by
`/json` to the reuqest path: appending `/json` to the reuqest path:
``` ```
https://<host>/<service>/<user>/<repo>/json https://<host>/<service>/<user>/<repo>/json

View File

@ -29,7 +29,7 @@ use crate::{
use actix_web::{ use actix_web::{
dev::Server, dev::Server,
http::header::{CacheControl, CacheDirective, Expires, LOCATION}, http::header::{CacheControl, CacheDirective, Expires, LOCATION},
middleware::{self, normalize::TrailingSlash}, middleware::{self, TrailingSlash},
web, App, HttpResponse, HttpServer, Responder, web, App, HttpResponse, HttpServer, Responder,
}; };
use badge::{Badge, BadgeOptions}; use badge::{Badge, BadgeOptions};
@ -224,10 +224,10 @@ where
})?; })?;
repo_count.fetch_sub(1, Ordering::Relaxed); repo_count.fetch_sub(1, Ordering::Relaxed);
Ok(HttpResponse::TemporaryRedirect() Ok(HttpResponse::TemporaryRedirect()
.header( .insert_header((
LOCATION, LOCATION,
format!("/{}/{}/{}/view", T::url_path(), data.0, data.1), format!("/{}/{}/{}/view", T::url_path(), data.0, data.1),
) ))
.finish()) .finish())
}; };
future.instrument(span).await future.instrument(span).await
@ -318,8 +318,8 @@ fn no_cache_response(body: Vec<u8>) -> HttpResponse {
let expiration = SystemTime::now() + Duration::from_secs(30); let expiration = SystemTime::now() + Duration::from_secs(30);
HttpResponse::Ok() HttpResponse::Ok()
.content_type("image/svg+xml") .content_type("image/svg+xml")
.set(Expires(expiration.into())) .insert_header(Expires(expiration.into()))
.set(CacheControl(vec![ .insert_header(CacheControl(vec![
CacheDirective::MaxAge(0u32), CacheDirective::MaxAge(0u32),
CacheDirective::MustRevalidate, CacheDirective::MustRevalidate,
CacheDirective::NoCache, CacheDirective::NoCache,
@ -480,7 +480,7 @@ async fn start_server(listener: TcpListener, settings: Settings) -> std::io::Res
App::new() App::new()
.app_data(state.clone()) .app_data(state.clone())
.app_data(repo_count.clone()) .app_data(repo_count.clone())
.wrap(tracing_actix_web::TracingLogger) .wrap(tracing_actix_web::TracingLogger::default())
.wrap(middleware::NormalizePath::new(TrailingSlash::Trim)) .wrap(middleware::NormalizePath::new(TrailingSlash::Trim))
.service(index) .service(index)
.service(health_check) .service(health_check)
@ -518,7 +518,7 @@ async fn start_server(listener: TcpListener, settings: Settings) -> std::io::Res
.service(web::resource("/gitlab/{user}/{repo}/view").to(overview::<Gitlab>)) .service(web::resource("/gitlab/{user}/{repo}/view").to(overview::<Gitlab>))
.service(web::resource("/bitbucket/{user}/{repo}/view").to(overview::<Bitbucket>)) .service(web::resource("/bitbucket/{user}/{repo}/view").to(overview::<Bitbucket>))
.service(web::resource("/sourcehut/{user}/{repo}/view").to(overview::<Sourcehut>)) .service(web::resource("/sourcehut/{user}/{repo}/view").to(overview::<Sourcehut>))
.default_service(web::resource("").route(web::get().to(async_p404))) .default_service(web::to(async_p404))
}) })
.workers(workers) .workers(workers)
.listen(listener)? .listen(listener)?

File diff suppressed because one or more lines are too long

View File

@ -1,12 +1,10 @@
mod util; mod util;
use actix_web::client;
#[actix_rt::test] #[actix_rt::test]
async fn badge_succeeds() { async fn badge_succeeds() {
let test_app = util::spawn_app().await; let test_app = util::spawn_app().await;
let client = client::Client::default(); let client = awc::Client::default();
let response = client let response = client
.get(&format!("{}/github/vbrandl/hoc", test_app.address)) .get(&format!("{}/github/vbrandl/hoc", test_app.address))

View File

@ -1,12 +1,10 @@
mod util; mod util;
use actix_web::client;
#[actix_rt::test] #[actix_rt::test]
async fn health_check_works() { async fn health_check_works() {
let test_app = util::spawn_app().await; let test_app = util::spawn_app().await;
let client = client::Client::default(); let client = awc::Client::default();
let response = client let response = client
.get(&format!("{}/health_check", test_app.address)) .get(&format!("{}/health_check", test_app.address))

View File

@ -1,12 +1,10 @@
mod util; mod util;
use actix_web::client;
#[actix_rt::test] #[actix_rt::test]
async fn index_returns_success() { async fn index_returns_success() {
let test_app = util::spawn_app().await; let test_app = util::spawn_app().await;
let client = client::Client::default(); let client = awc::Client::default();
let response = client let response = client
.get(&format!("{}/", test_app.address)) .get(&format!("{}/", test_app.address))

View File

@ -1,12 +1,10 @@
mod util; mod util;
use actix_web::client;
#[actix_rt::test] #[actix_rt::test]
async fn json_returns_success() { async fn json_returns_success() {
let test_app = util::spawn_app().await; let test_app = util::spawn_app().await;
let client = client::Client::default(); let client = awc::Client::default();
let response = client let response = client
.get(&format!("{}/github/vbrandl/hoc/json", test_app.address)) .get(&format!("{}/github/vbrandl/hoc/json", test_app.address))