54 lines
1.5 KiB
TOML
54 lines
1.5 KiB
TOML
[package]
|
|
name = "webhookey"
|
|
version = "0.1.5"
|
|
authors = ["finga <webhookey@onders.org>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-or-later"
|
|
readme = "README.md"
|
|
description = "Trigger scripts via http(s) requests"
|
|
|
|
[features]
|
|
tls = ["rocket/tls"]
|
|
|
|
[dependencies]
|
|
rocket = "0.5.0-rc.1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde_yaml = "0.8"
|
|
serde_regex = "1.1"
|
|
regex = "1.5"
|
|
dirs = "4.0"
|
|
anyhow = "1.0"
|
|
log = "0.4"
|
|
env_logger = "0.9"
|
|
hmac = "0.11"
|
|
sha2 = "0.9"
|
|
hex = "0.4"
|
|
ipnet = { version = "2.3", features = ["serde"] }
|
|
thiserror = "1.0"
|
|
run_script = "0.9"
|
|
clap = "3.0.0-beta.5"
|
|
|
|
[target.'cfg(target_os = "hermit")'.dependencies.hermit-sys]
|
|
version = "0.1.*"
|
|
default-features = false
|
|
features = ["smoltcp"]
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[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"]
|