Basic health endpoint.

This commit is contained in:
Tom Alexander
2024-07-14 15:14:52 -04:00
parent ecce4f04c9
commit 02e288ef31
5 changed files with 812 additions and 3 deletions

View File

@@ -1,6 +1,28 @@
[package]
name = "webhook_bridge"
version = "0.1.0"
version = "0.0.1"
edition = "2021"
authors = ["Tom Alexander <tom@fizz.buzz>"]
description = "Trigger tekton jobs with gitea webhooks."
license = "0BSD"
repository = "https://code.fizz.buzz/talexander/webhook_bridge"
readme = "README.md"
keywords = ["tekton", "gitea", "webhook"]
categories = ["development-tools"]
resolver = "2"
include = [
"LICENSE",
"**/*.rs",
"Cargo.toml",
"Cargo.lock"
]
[dependencies]
# default form, http1, json, matched-path, original-uri, query, tokio, tower-log, tracing
axum = { version = "0.7.5", default-features = false, features = ["tokio", "http1", "http2"] }
tokio = { version = "1.38.0", default-features = false, features = ["macros", "process", "rt", "rt-multi-thread"] }
[profile.release-lto]
inherits = "release"
lto = true
strip = "symbols"