Files
codecraft/server/Cargo.toml
T
Richard ZinkandClaude Opus 5.5 b5de531d2e Add Prometheus metrics, JSON logs and provider health checks
- GET /metrics (bearer server.metrics_token): build info, users, sessions,
  pending requests, per-model request/token/cost counters, provider_up
- CODECRAFT_LOG_FORMAT=json for one JSON object per log line
- Providers are probed every 5 minutes via their model list; status shown
  in the provider settings with a manual re-check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 00:57:02 +01:00

48 lines
1.4 KiB
TOML

[package]
name = "codecraft"
version = "0.1.0"
edition = "2024"
description = "Web-based coding harness for AI models"
[dependencies]
codecraft-core = { path = "../core" }
anyhow = "1"
argon2 = "0.6"
sha2 = "0.11"
rand = "0.10"
async-trait = "0.1"
axum = { version = "0.8", features = ["ws", "macros"] }
bytes = "1"
chrono = { version = "0.4", features = ["serde"] }
eventsource-stream = "0.2"
futures = "0.3"
globset = "0.4"
html2text = "0.15"
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
base64 = "0.22"
calamine = "0.38"
zip = { version = "9", default-features = false, features = ["deflate"] }
shell-words = "1"
libc = "0.2"
ignore = "0.4"
regex = "1"
reqwest = { version = "0.13", default-features = false, features = ["json", "stream", "rustls", "form"] }
rusqlite = { version = "0.41", features = ["bundled"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
similar = "2"
tokio = { version = "1", features = ["full"] }
tokio-util = "0.7"
toml = "1"
toml_edit = "0.25"
tower-http = { version = "0.7", features = ["fs", "cors", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
uuid = { version = "1", features = ["v4", "v7"] }
p256 = { version = "0.14", features = ["ecdh", "ecdsa"] }
hkdf = "0.13"
aes-gcm = "0.11"
pty-process = { version = "0.5.4", features = ["async"] }
croner = "4.0.3"
hmac = "0.13"