headwind 0.1.0

A Kubernetes operator to automate workload updates based on container image changes
Documentation
[package]
name = "headwind"
version = "0.1.0"
edition = "2024"
authors = ["Headwind Contributors"]
description = "A Kubernetes operator to automate workload updates based on container image changes"
license = "MIT"
repository = "https://github.com/b1tsized/headwind"

# Library for integration testing
[lib]
name = "headwind"
path = "src/lib.rs"

# Binary
[[bin]]
name = "headwind"
path = "src/main.rs"

[dependencies]
# Kubernetes client
kube = { version = "2.0", features = ["runtime", "derive", "client"] }
k8s-openapi = { version = "0.26", features = ["v1_31"] }
schemars = { version = "1.1", features = ["chrono04"] }

# Async runtime
tokio = { version = "1.42", features = ["full"] }
futures = "0.3"

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"

# HTTP client and server
reqwest = { version = "0.12", features = ["json"] }
axum = "0.8"
tower = "0.5"
tower-http = { version = "0.6", features = ["trace", "fs", "set-header"] }

# Web UI - Templates and static assets
maud = { version = "0.27", features = ["axum"] }

# Logging and tracing
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }

# Error handling
anyhow = "1.0"
thiserror = "2.0"

# Semantic versioning
semver = "1.0"

# Time handling
chrono = { version = "0.4", features = ["serde"] }

# Container registry
oci-distribution = { version = "0.11", features = ["rustls-tls"] }

# Metrics
prometheus = "0.14"
lazy_static = "1.5"

# Encoding
base64 = "0.22"
hex = "0.4"
sha2 = "0.10"

# Async trait
async-trait = "0.1"
once_cell = "1.21.3"
async-stream = "0.3.6"
tokio-stream = "0.1.17"

[dev-dependencies]
# No additional test dependencies needed yet - tests use core functionality

# cargo-release configuration
# Target-specific dependencies for cross-compilation
[target.aarch64-unknown-linux-gnu.dependencies]
openssl = { version = "0.10", features = ["vendored"] }

[package.metadata.release]
# Version bumping
pre-release-commit-message = "chore: release v{{version}}"
tag-message = "chore: release v{{version}}"
tag-name = "v{{version}}"
tag-prefix = "v"
sign-commit = false
sign-tag = false
push = true
publish = false  # We publish via GitHub Actions, not cargo-release
# Pre-release replacements
pre-release-replacements = [
  { file = "CHANGELOG.md", search = "Unreleased", replace = "{{version}}", min = 1 },
  { file = "CHANGELOG.md", search = "\\.\\.\\.HEAD", replace = "...v{{version}}", exactly = 1 },
  { file = "CHANGELOG.md", search = "ReleaseDate", replace = "{{date}}", min = 1 },
  { file = "CHANGELOG.md", search = "<!-- next-header -->", replace = "<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly = 1 },
  { file = "CHANGELOG.md", search = "<!-- next-url -->", replace = "<!-- next-url -->\n[Unreleased]: https://github.com/headwind-sh/headwind/compare/v{{version}}...HEAD", exactly = 1 },
]