Initial boilerplate scaffold for continuum-ai-worker

This commit is contained in:
2026-08-28 16:26:53 +00:00
commit 17f8e4b487
13 changed files with 489 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
[package]
name = "continuum-ai-worker"
version = "0.1.0"
edition = "2021"
description = "Continuum AI worker — consumes camera frame batches from Redis Streams and runs ONNX Runtime print-failure detection"
license = "UNLICENSED"
[[bin]]
name = "continuum-ai-worker"
path = "src/main.rs"
[dependencies]
tokio = { version = "1.40", features = ["full"] }
redis = { version = "0.27", features = ["tokio-comp", "streams"] }
ort = { version = "2.0.0-rc.9", features = ["ndarray", "download-binaries"] }
ndarray = "0.16"
image = "0.25"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
anyhow = "1"
thiserror = "1"
base64 = "0.22"
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "chrono", "uuid"] }
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
[profile.release]
opt-level = 3
lto = true