webhookey/Cargo.toml

41 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "webhookey"
version = "0.1.0-rc.0"
authors = ["finga <webhookey@onders.org>"]
edition = "2018"
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]
2021-03-21 23:37:30 +01:00
rocket = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.8"
regex = "1.4"
dirs = "3.0"
anyhow = "1.0"
log = "0.4"
env_logger = "0.8"
nom = "6"
hmac = "0.10"
sha2 = "0.9"
hex = "0.4"
ipnet = { version = "2.3", features = ["serde"] }
thiserror = "1.0"
run_script = "0.7"
[package.metadata.deb]
extended-description = "Webhookey receives requests as for example sent by Gitea's webhooks. Those requests are filtered against configurable filters. When a filter matches values from the header and the body can be passed to scripts which are then executed."
maintainer-scripts = "debian/"
systemd-units = { enable = false }
assets = [
["config.yml", "etc/webhookey/", "644"],
["target/release/webhookey", "usr/bin/", "755"],
["README.md", "usr/share/doc/cargo-deb/README", "644"],
["debian/service", "lib/systemd/system/webhookey.service", "644"],
]