Files
continuum-ai-worker/Cargo.toml
T
octoturge db5adc9324 Simplify boilerplate for learning: stub inference and Postgres write
Removed ort/ndarray/image (ONNX Runtime inference) and sqlx (Postgres audit
write). inference::detect() and the Postgres half of reporter::report() are
now stubs with a comment for what real code goes there. Redis Streams
XREADGROUP loop and the Redis pub/sub alert stay real.

Verified with a clean cargo check --all-targets (0 warnings).
2026-08-28 18:23:55 +00:00

25 lines
801 B
TOML

[package]
name = "continuum-ai-worker"
version = "0.1.0"
edition = "2021"
description = "Continuum AI worker — consumes camera frame batches from Redis Streams and runs 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"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
anyhow = "1"
dotenvy = "0.15"
# Real inference (ONNX Runtime via the `ort` crate) and the Postgres audit
# write (via `sqlx`) go here once src/inference and src/reporter grow past
# their stubs — see those modules' doc comments.