summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-02-15 21:27:00 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-02-15 21:27:00 +0100
commitce0dbf6b249956700c6a1705bf4ad85a09d53e8c (patch)
treed7c3236807cfbf75d7f3a355eb5df5a5e2cc4ad7 /Cargo.toml
parent064a1d01c5c14f5ecc032fa9b8346a4a88b893f6 (diff)
feat: witryna 0.2.0HEADv0.2.0main
Switch, cleanup, and status CLI commands. Persistent build state via state.json. Post-deploy hooks on success and failure with WITRYNA_BUILD_STATUS. Dependency diet (axum→tiny_http, clap→argh, tracing→log). Drop built-in rate limiting. Nix flake with NixOS module. Arch Linux PKGBUILD. Centralized version management. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml33
1 files changed, 13 insertions, 20 deletions
diff --git a/Cargo.toml b/Cargo.toml
index fb8e20d..6fbac26 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,12 +1,15 @@
[package]
name = "witryna"
-version = "0.1.0"
+version = "0.2.0"
edition = "2024"
+rust-version = "1.85"
authors = ["Dawid Rycerz"]
description = "Minimalist Git-based static site deployment orchestrator"
homepage = "https://git.craftknight.com/dawid/witryna"
repository = "https://git.craftknight.com/dawid/witryna.git"
license = "MIT"
+keywords = ["deploy", "static-site", "git", "webhook", "container"]
+categories = ["command-line-utilities", "web-programming"]
[features]
default = []
@@ -14,33 +17,22 @@ integration = []
[dependencies]
anyhow = "1.0.100"
-clap = { version = "4", features = ["derive"] }
-subtle = "2.6"
-axum = "0.8.8"
-chrono = "0.4.43"
-dashmap = "6.1.0"
-governor = "0.8"
+argh = "0.1"
+tiny_http = "0.12"
serde = { version = "1.0.228", features = ["derive"] }
serde_yaml_ng = "0.10"
-tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros", "fs", "process", "net", "signal", "sync", "time", "io-util", "io-std"] }
+tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros", "fs", "process", "signal", "sync", "time", "io-util", "io-std"] }
toml = "0.9.11"
-tracing = "0.1.44"
-tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
+log = { version = "0.4", features = ["std"] }
humantime = "2.3.0"
-tokio-util = "0.7.18"
serde_json = "1.0"
[dev-dependencies]
-tower = "0.5"
-reqwest = { version = "0.12" }
+reqwest = { version = "0.12", features = ["json"] }
tempfile = "3"
nix = { version = "0.29", features = ["signal"] }
serial_test = "3"
-[build-dependencies]
-clap = { version = "4", features = ["derive"] }
-clap_mangen = "0.2.31"
-
[profile.release]
strip = true
lto = true
@@ -56,13 +48,13 @@ containerized build commands, and publishes static assets via atomic \
symlink switching."""
section = "web"
priority = "optional"
-depends = "$auto, adduser, systemd"
+depends = "$auto, adduser, systemd, git, git-lfs"
recommends = "podman | docker.io"
maintainer-scripts = "debian/"
conf-files = ["/etc/witryna/witryna.toml"]
assets = [
["target/release/witryna", "usr/bin/", "755"],
- ["target/man/witryna.1", "usr/share/man/man1/witryna.1", "644"],
+ ["man/witryna.1", "usr/share/man/man1/witryna.1", "644"],
["man/witryna.toml.5", "usr/share/man/man5/witryna.toml.5", "644"],
["examples/witryna.toml", "etc/witryna/witryna.toml", "644"],
["README.md", "usr/share/doc/witryna/README.md", "644"],
@@ -91,7 +83,7 @@ group = "Applications/Internet"
release = "1"
assets = [
{ source = "target/release/witryna", dest = "/usr/bin/witryna", mode = "755" },
- { source = "target/man/witryna.1", dest = "/usr/share/man/man1/witryna.1", mode = "644", doc = true },
+ { source = "man/witryna.1", dest = "/usr/share/man/man1/witryna.1", mode = "644", doc = true },
{ source = "man/witryna.toml.5", dest = "/usr/share/man/man5/witryna.toml.5", mode = "644", doc = true },
{ source = "examples/witryna.toml", dest = "/etc/witryna/witryna.toml", mode = "644", config = "noreplace" },
{ source = "debian/witryna.service", dest = "/usr/lib/systemd/system/witryna.service", mode = "644" },
@@ -186,6 +178,7 @@ fi"""
systemd = "*"
shadow-utils = "*"
git = "*"
+git-lfs = "*"
[package.metadata.generate-rpm.recommends]
podman = "*"