mightyohm-gc-exporter/Cargo.toml
finga 4396b9eca4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Use cargo-deb to build a Debian package
This ships also a systemd service unit and a config file for
`/etc/default`
2022-04-24 17:33:09 +02:00

29 lines
975 B
TOML

[package]
name = "mightyohm-gc-exporter"
version = "0.1.0-dev"
edition = "2021"
description = "Prometheus exporter for the MightyOhm Geiger Counter"
license = "GPL-3.0-or-later"
repository = "https://git.onders.org/finga/mightyohm-gc-exporter"
keywords = ["prometheus", "metrics"]
categories = ["api-bindings", "command-line-utilities", "visualization"]
[dependencies]
anyhow = "1.0"
serialport = "4.1"
log = "0.4"
env_logger = "0.9"
tokio = { version = "1.17", features = ["rt-multi-thread", "macros"] }
axum = "0.5"
clap = { version = "3.1", features = ["derive"] }
[package.metadata.deb]
extended-description = "Prometheus exporter for the MightyOhm Geiger Counter."
section = "utility"
maintainer-scripts = "debian/"
systemd-units = { enable = true }
assets = [
["target/release/mightyohm-gc-exporter", "usr/bin/", "755"],
["README.md", "usr/share/doc/mightyohm-gc-exporter/README", "644"],
["debian/default", "etc/default/mightyohm-gc-exporter", "644"],
]