Paul van Tilburg
f156bdb4dd
Some checks failed
Audit dependencies / audit (push) Successful in 33s
Release / Release Docker image (push) Failing after 35s
Release / Release Rust crate (push) Successful in 2m34s
Release / Release Debian package (push) Successful in 2m45s
Check, lint and test / Check, lint and test (push) Successful in 1m32s
Release / Release (push) Failing after 1m23s
67 lines
2 KiB
TOML
67 lines
2 KiB
TOML
[package]
|
|
name = "sinoptik"
|
|
version = "0.2.13"
|
|
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"
|
|
readme = "README.md"
|
|
repository = "https://git.luon.net/paul/sinoptik"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
cached = { version = "0.53.1", features = ["async"] }
|
|
chrono = "0.4.19"
|
|
chrono-tz = "0.9.0"
|
|
csv = "1.1.6"
|
|
geocoding = "0.4.0"
|
|
image = { version = "0.25.1", default-features = false, features = ["png"]}
|
|
reqwest = { version = "0.11.27", features = ["json"] }
|
|
rocket = { version = "0.5.0-rc.3", features = ["json"] }
|
|
thiserror = "1.0.31"
|
|
|
|
[dev-dependencies]
|
|
assert_float_eq = "1.1.3"
|
|
assert_matches = "1.5.0"
|
|
|
|
[build-dependencies]
|
|
vergen-git2 = { version = "1.0.0", features = ["build"] }
|
|
|
|
[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, combined from Buienradar and
|
|
Luchtmeetnet)
|
|
* 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" }
|