c0648c2b3c
Remove unnecessary mut
and document possible panic
continuous-integration/drone/push Build is passing
2023-08-27 14:34:14 +02:00
Valentin Brandl
9f3c2813ab
Apply cargo fmt
continuous-integration/drone/push Build is passing
2023-06-13 10:26:25 +02:00
Valentin Brandl
361eacbe1d
Fix some pedantic lints
2023-06-13 10:22:37 +02:00
Valentin Brandl
be48ebd2d9
Fix clippy lint
2021-05-27 12:39:45 +02:00
Valentin Brandl
6f931ce46f
Use tracing
instead of slog
for better ergonomics
continuous-integration/drone/push Build is passing
2020-10-30 16:40:35 +01:00
Valentin Brandl
c9a54eda49
Allow requesting badges for branches != master
...
This changed the cache structure to allow caching data for multiple
branches. The service still assumes a default branch named `master` but
using the `branch` get parameter, the default branch can be changed.
The 404 page for the missing `master` branch was changed to explain the
new parameter.
2020-07-20 20:14:22 +02:00
Valentin Brandl
bdb10fd54a
Add commit count to the cache struct
2019-07-07 13:28:43 +02:00
Valentin Brandl
140265b713
Cleanup and use internal result type
continuous-integration/drone/push Build is passing
2019-06-16 22:20:09 +02:00
Valentin Brandl
a1c10938c5
Use Cow instead of String
2019-04-29 20:37:20 +02:00
Valentin Brandl
9284bceda6
Implement caching
2019-04-19 22:51:58 +02:00