# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "killjoy-notifier-slack" version = "0.2.3" authors = ["Kenneth Wang Pedersen "] description = "Send slack messages about unit state changes on behalf of killjoy." readme = "README.md" keywords = [ "d-bus", "dbus", "systemd", "unit", ] categories = ["command-line-utilities"] license = "GPL-3.0-or-later" repository = "https://github.com/kennep/killjoy-notifier-slack" [package.metadata.deb] assets = [ [ "target/release/killjoy-notifier-slack", "usr/bin/", "755", ], [ "README.md", "usr/share/doc/killjoy-notifier-slack/", "644", ], [ "debian/slack-notifier.json", "/etc/xdg/killjoy/", "644", ], [ "debian/com.wangpedersen.KilljoyNotifierSlack1.conf", "usr/share/dbus-1/system.d/", "644", ], [ "debian/com.wangpedersen.KilljoyNotifierSlack1.service", "usr/share/dbus-1/system-services/", "644", ], ] conf-files = ["/etc/xdg/killjoy/slack-notifier.json"] extended-description = """ Generate slack notifications on behalf of killjoy. killjoy is a systemd unit monitoring application. It discovers systemd units and tracks their states. When a unit changes to a state of interest, killjoy contacts notifiers. This application is a notifier which, upon being contacted by killjoy, will post a Slack message using a webhook. """ maintainer-scripts = "debian/" [package.metadata.deb.systemd-units] enable = false start = false [dependencies.anyhow] version = "^1.0" [dependencies.clap] version = "^4.3.11" features = [ "derive", "cargo", ] [dependencies.dbus] version = "^0.9.5" [dependencies.dbus-crossroads] version = "^0.5.0" [dependencies.env_logger] version = "^0.10.0" [dependencies.log] version = "^0.4.14" [dependencies.reqwest] version = "^0.11.18" features = [ "blocking", "json", ] [dependencies.serde] version = "^1.0.117" features = ["derive"] [dependencies.serde_json] version = "^1.0.59" [dependencies.xdg] version = "^2.4.0"