2022-02-12 12:25:05 +01:00
|
|
|
[package]
|
|
|
|
name = "sinoptik"
|
2022-05-21 09:49:18 +02:00
|
|
|
version = "0.2.3"
|
2022-02-21 21:05:50 +01:00
|
|
|
authors = [
|
|
|
|
"Admar Schoonen <admar@luon.net",
|
|
|
|
"Paul van Tilburg <paul@luon.net>"
|
|
|
|
]
|
|
|
|
edition = "2021"
|
|
|
|
description = "Web service that provides an API for today's weather forecast"
|
2022-02-21 17:46:23 +01:00
|
|
|
readme = "README.md"
|
2022-02-21 21:05:50 +01:00
|
|
|
repository = "https://git.luon.net/paul/sinoptik"
|
2022-02-21 17:46:23 +01:00
|
|
|
license = "MIT"
|
2022-02-12 12:25:05 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2022-05-07 20:21:09 +02:00
|
|
|
cached = { version = "0.34.0", features = ["async"] }
|
2022-02-12 12:25:05 +01:00
|
|
|
chrono = "0.4.19"
|
2022-02-13 15:38:17 +01:00
|
|
|
chrono-tz = "0.6.1"
|
2022-02-16 22:20:20 +01:00
|
|
|
csv = "1.1.6"
|
2022-02-12 12:25:05 +01:00
|
|
|
geocoding = "0.3.1"
|
2022-02-25 15:26:41 +01:00
|
|
|
image = "0.24.1"
|
2022-02-13 12:45:27 +01:00
|
|
|
reqwest = { version = "0.11.9", features = ["json"] }
|
2022-05-10 14:55:57 +02:00
|
|
|
rocket = { version = "0.5.0-rc.2", features = ["json"] }
|
2022-06-06 14:53:56 +02:00
|
|
|
thiserror = "1.0.31"
|
2022-02-21 20:51:40 +01:00
|
|
|
|
2022-03-11 16:02:51 +01:00
|
|
|
[dev-dependencies]
|
|
|
|
assert_float_eq = "1.1.3"
|
|
|
|
assert_matches = "1.5.0"
|
|
|
|
|
2022-02-21 20:51:40 +01:00
|
|
|
[package.metadata.deb]
|
|
|
|
maintainer = "Paul van Tilburg <paul@luon.net>"
|
|
|
|
copyright = "2022, Paul van Tilburg"
|
|
|
|
depends = "$auto, systemd"
|
|
|
|
extended-description = """\
|
|
|
|
Sinoptik is a (REST) API service that provides an API for today's weather
|
|
|
|
forecast. It can provide you with a specific set or all available metrics that
|
|
|
|
it supports.
|
|
|
|
|
|
|
|
Currently supported metrics are:
|
|
|
|
|
|
|
|
* Air quality index (per hour, from Luchtmeetnet)
|
|
|
|
* NO₂ concentration (per hour, from Luchtmeetnet)
|
|
|
|
* O₃ concentration (per hour, from Luchtmeetnet)
|
|
|
|
* Particulate matter (PM10) concentration (per hour, from Luchtmeetnet)
|
|
|
|
* Pollen (per hour, from Buienradar)
|
|
|
|
* Pollen/air quality index (per hour, from Buienradar)
|
|
|
|
* Precipitation (per 5 minutes, from Buienradar)
|
|
|
|
* UV index (per day, from Buienradar)
|
|
|
|
|
|
|
|
Because of the currently supported data providers, only data for The
|
|
|
|
Netherlands can be queried.
|
|
|
|
"""
|
|
|
|
section = "net"
|
|
|
|
priority = "optional"
|
|
|
|
assets = [
|
|
|
|
["README.md", "usr/share/doc/sinoptik/", "664"],
|
|
|
|
["Rocket.toml.example", "/etc/sinoptik.toml", "644"],
|
|
|
|
["target/release/sinoptik", "usr/sbin/sinoptik", "755"]
|
|
|
|
]
|
|
|
|
conf-files = [
|
|
|
|
"/etc/sinoptik.toml"
|
|
|
|
]
|
|
|
|
maintainer-scripts = "debian/"
|
|
|
|
systemd-units = { unit-name = "sinoptik" }
|