webhookey/Cargo.toml

44 lines
1.4 KiB
TOML
Raw Normal View History

[package]
name = "webhookey"
2021-12-09 13:43:46 +01:00
version = "0.1.6"
authors = ["finga <webhookey@onders.org>"]
edition = "2021"
2021-03-12 17:23:35 +01:00
license = "GPL-3.0-or-later"
2021-03-17 11:01:30 +01:00
readme = "README.md"
description = "Trigger scripts via http(s) requests"
2021-03-21 23:37:30 +01:00
[features]
tls = ["rocket/tls"]
[dependencies]
anyhow = "1.0"
clap = { version = "3.0", features = ["derive"] }
dirs = "4.0"
env_logger = "0.9"
hex = "0.4"
hmac = "0.11"
ipnet = { version = "2.3", features = ["serde"] }
log = "0.4"
regex = "1.5"
rocket = "0.5.0-rc.1"
run_script = "0.9"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_regex = "1.1"
serde_yaml = "0.8"
sha2 = "0.9"
thiserror = "1.0"
[package.metadata.deb]
extended-description = "Webhookey receives requests in form of a so called Webhook as for example sent by Gitea. Those requests are matched against configured filters, if a filter matches, values from the header and the body can be passed to scripts as parameters which are then executed subsequently."
maintainer-scripts = "debian/"
systemd-units = { enable = false }
assets = [
["config.yml", "etc/webhookey/", "644"],
["target/release/webhookey", "usr/bin/", "755"],
["README.md", "usr/share/doc/webhookey/README", "644"],
["webhookey.1", "usr/share/man/man1/", "644"],
["debian/service", "lib/systemd/system/webhookey.service", "644"],
]
conf-files = ["/etc/webhookey/config.yml"]