9b3c11ee76
Cargo update
2023-06-04 12:12:54 +02:00
27e1ac726c
Bump dependency on cached to 0.44.0
2023-06-04 12:12:54 +02:00
3047cf74c2
No longer configure using a sparse Cargo index for crates.io
...
This is the default since Rust 1.70.
2023-06-04 12:02:35 +02:00
44474aa545
Tweak README
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m44s
2023-05-29 16:38:42 +02:00
50b0e94839
Properly attribute the PAQI metric
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m45s
2023-05-29 16:37:16 +02:00
1010311403
Don't provide the map for the PAQI metric (it is pollen only)
2023-05-29 16:36:02 +02:00
d16699636b
Merge pull request 'Print the version on lift off and add version endpoint' ( #30 ) from 29-print-version-add-endpoint into main
...
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m52s
Reviewed-on: #30
2023-05-29 16:14:56 +02:00
38fb28c248
Add a /version API endpoint
...
Check, lint and test using Cargo / Check, lint and test (pull_request) Successful in 6m5s
Check, lint and test using Cargo / Check, lint and test (push) Has been cancelled
* Introduce the `VersionInfo` struct, build from the vergen environment
variables
* Add the `version` handler to construct and return the version info
* Update the README
2023-05-29 15:48:36 +02:00
7c2b012e95
Print the version on lift off
2023-05-29 15:48:36 +02:00
ab6001f072
Use the vergen crate to generate version information
...
* Add depend on the `vergen` crate (only use the `build`, `git` and
`gitcl` features)
* Add the build script `build.rs` to setup the environment variables
from the build system
2023-05-29 15:48:36 +02:00
9742331f6d
Annote the map key colors in the comments
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m42s
2023-05-26 20:44:24 +02:00
9bb9d248a8
Bump the version to 0.2.7
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m39s
Release / Release (push) Successful in 7m29s
Release / Release crate (push) Successful in 4m8s
2023-05-26 20:17:31 +02:00
37788fac1c
Update the changelog
...
Also add missing release dates!
2023-05-26 20:16:24 +02:00
112875e7ac
Use the personal Cargo token
...
Use this instead of the (missing) repository's secret.
2023-05-26 20:05:52 +02:00
1c71ca79ef
Switch back to the original Buienradar color scheme (refs: #27 )
...
Check, lint and test using Cargo / Check, lint and test (push) Successful in 6m29s
This reverts commit a52313ffb7
.
2023-05-26 19:43:37 +02:00
afca20c96f
Bump the version to 0.2.6
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m35s
Release / Release (push) Successful in 8m17s
Release / Release crate (push) Failing after 4m12s
2023-05-24 22:17:59 +02:00
2d34eee49a
Update the changelog
2023-05-24 22:17:31 +02:00
a52313ffb7
Switch to new Buienradar color scheme ( closes : #27 )
Check, lint and test using Cargo / Check, lint and test (push) Successful in 6m13s
2023-05-24 22:13:13 +02:00
f39a3a33ee
Set sampling area to 31x31 ( closes : #26 )
Check, lint and test using Cargo / Check, lint and test (push) Successful in 6m16s
2023-05-24 19:20:24 +02:00
a59b4eefe1
Improve error description/comment
2023-05-24 19:16:04 +02:00
1aad3e2eb6
Nomatim seems to geocode Eindhoven differently now
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m32s
2023-05-22 20:50:46 +02:00
929508a9cc
Add a full release workflow
Check, lint and test using Cargo / Check, lint and test (push) Failing after 5m32s
2023-05-22 20:09:45 +02:00
23e4f731a0
Tweak step name
2023-05-22 20:08:36 +02:00
d84440304a
Simplify Gitea Actions check, lint and test workflow
Check, lint and test using Cargo / Check, lint and test (push) Successful in 6m20s
2023-04-25 16:38:59 +02:00
a289bd9ef0
Bump the version to 0.2.5
2023-03-24 13:10:22 +01:00
122f98a92d
Update the changelog
2023-03-24 13:09:53 +01:00
1426405943
Bump dependencies on cached and chrono-tz
2023-03-24 13:05:42 +01:00
34be96d187
Update to Rocket 0.5.0-rc.3
2023-03-24 13:04:56 +01:00
bc140a9d1e
Remove unnecessary debug statement
2023-03-23 16:57:30 +01:00
39c224eb90
Cargo update; fixes RUSTSEC-2023-0018
2023-03-23 16:56:48 +01:00
b517448fd7
Speed up workflow by using sparce Cargo index for crates.io
2023-03-21 11:50:00 +01:00
3de66dbd41
Add Gitea Actions (CI) workflow for cargo
2023-03-21 11:16:48 +01:00
6a04fc958f
Fix float comparison in tests
2023-03-21 11:15:32 +01:00
c8b951ab7e
Fix clippy issue
2023-03-21 11:05:03 +01:00
32ec6b516c
Cargo update
...
This fixes build issues with the `geo-types` crate versio 0.7.7.
Also replace use of now deprecated functions/methods.
2023-01-31 14:02:46 +01:00
a6301fa678
Fix markdownlint issues
2022-10-23 10:50:05 +02:00
f00537d5f3
Add more lints; fix issues
2022-10-17 20:02:54 +02:00
c8970fa3bb
Cargo update
2022-10-17 19:53:01 +02:00
aee3409f4a
Bump dependency on cached to 0.38.0
...
This fixes the unused `*_prime_cache` compile warnings.
2022-08-12 09:46:17 +02:00
dbdd7bef0f
Cargo update
2022-08-12 09:44:15 +02:00
d749233b24
Merge uses
2022-08-12 09:44:08 +02:00
abb6657212
Cargo update
2022-07-17 13:25:22 +02:00
8b03f2162b
Bump dependency on geocoding to 0.4.0
...
This finally removes the duplicate dependency tree on older versions of
crates we're already using (chrono, request, etc.).
2022-07-17 13:25:22 +02:00
789bb1d1ac
Update the changelog
2022-07-05 14:46:51 +02:00
2e999f5a78
Bump the version to 0.2.4
2022-07-05 14:42:51 +02:00
712b3a9acf
Check sample coordinate bounds ( closes : #24 )
2022-06-06 19:51:07 +02:00
2b23885692
Default to now if Last-Modified header missing
...
As a result, if the header is missing, it is no longer considered an
error.
2022-06-06 19:39:32 +02:00
dc47c1c73c
Merge pull request 'Handle errors internally and show them via the API' ( #25 ) from handle-errors into main
...
Reviewed-on: #25
2022-06-06 16:49:03 +02:00
014ca5a151
Handle errors on the API side
...
* The map endpoints return an HTTP 404 error in case of unknown or
out-of-bound locations
* The forecast endpoint with an address returns an HTTP 404 with error
JSON in case geocoding fails
* The forecast endpoints return the errors per metric in the `errors`
field of the forecast
* Implement `Display` for `Metric`
* Use a `BTreeMap` to have an ordered `errors` field/object
* Also log the errors to the console
* Update the tests
* Document the errors that can occur
2022-06-06 16:46:52 +02:00
8a2a6d769d
Log errors of the map refresher task separately
2022-06-06 15:38:38 +02:00