webhook_bridge/Cargo.toml

71 lines
2.3 KiB
TOML
Raw Normal View History

2024-09-29 18:32:20 +00:00
cargo-features = ["codegen-backend"]
2024-07-14 18:52:45 +00:00
[package]
name = "webhook_bridge"
2024-07-14 19:14:52 +00:00
version = "0.0.1"
2024-07-14 18:52:45 +00:00
edition = "2021"
2024-07-14 19:14:52 +00:00
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"]
2024-07-14 19:14:52 +00:00
categories = ["development-tools"]
resolver = "2"
include = [
"LICENSE",
"**/*.rs",
"Cargo.toml",
"Cargo.lock"
]
2024-07-14 18:52:45 +00:00
2024-09-29 18:32:20 +00:00
[lib]
name = "webhookbridge"
path = "src/lib.rs"
[[bin]]
name = "webhook_bridge"
path = "src/main.rs"
[[bin]]
# This bin exists for development purposes only. The real target of this crate is the webhook_bridge server binary.
name = "local_trigger"
path = "src/bin_local_trigger.rs"
required-features = ["local_trigger"]
[features]
default = ["local_trigger"]
local_trigger = []
2024-07-14 18:52:45 +00:00
[dependencies]
axum = { version = "0.7.5", default-features = false, features = ["tokio", "http1", "json"] }
2024-07-16 01:02:30 +00:00
base64 = "0.22.1"
hmac = "0.12.1"
http-body-util = "0.1.2"
2024-07-15 03:08:10 +00:00
k8s-openapi = { version = "0.22.0", default-features = false, features = ["v1_30"] }
kube = { version = "0.92.1", default-features = false, features = ["client", "config", "rustls-tls", "derive", "runtime"] }
2024-09-28 22:34:16 +00:00
regex = "1.10.6"
reqwest = "0.12.5"
2024-07-21 19:54:12 +00:00
schemars = "0.8.21"
2024-07-14 19:19:41 +00:00
serde = { version = "1.0.204", features = ["derive"] }
2024-07-14 20:38:07 +00:00
serde_json = { version = "1.0.120", default-features = false, features = ["std"] }
2024-09-28 23:19:38 +00:00
serde_yaml = "0.9.34"
2024-07-16 01:02:30 +00:00
sha2 = "0.10.8"
2024-07-15 03:08:10 +00:00
tokio = { version = "1.38.0", default-features = false, features = ["macros", "process", "rt-multi-thread", "signal"] }
toml = { version = "0.8.19", default-features = false, features = ["display", "parse"] }
2024-07-14 23:01:10 +00:00
tower-http = { version = "0.5.2", default-features = false, features = ["trace", "timeout"] }
2024-07-14 19:34:14 +00:00
tracing = { version = "0.1.40", default-features = false, features = ["attributes", "std", "tracing-attributes", "async-await"] }
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["alloc", "ansi", "fmt", "nu-ansi-term", "registry", "sharded-slab", "smallvec", "std", "thread_local", "tracing-log", "env-filter"] }
2024-07-14 19:14:52 +00:00
[profile.release-lto]
inherits = "release"
lto = true
strip = "symbols"
2024-09-29 18:32:20 +00:00
[profile.dev]
codegen-backend = "cranelift"
[profile.dev.package."*"]
codegen-backend = "llvm"
opt-level = 3