Axum-based REST API that mirrors Tauri IPC commands, sharing the same ImageStore via Arc. Endpoints for image open/list/close/save, stats/histogram/ pixel inspection, operations (invert, blur, threshold, edge detection, FFT, projections, etc.), undo, and PNG tile rendering. Auto-starts on port 8787 alongside Tauri GUI. Standalone headless binary via `cargo run --bin ri-headless`. CORS enabled for browser-based clients. 75 tests passing. Co-Authored-By: Claude Opus 4.6 <[email protected]>
28 lines
574 B
TOML
28 lines
574 B
TOML
[package]
|
|
name = "ri-agent"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
ri-types.workspace = true
|
|
ri-core.workspace = true
|
|
ri-io.workspace = true
|
|
ri-ops.workspace = true
|
|
ri-fft.workspace = true
|
|
ri-measure.workspace = true
|
|
ri-roi.workspace = true
|
|
ri-lut.workspace = true
|
|
ri-render.workspace = true
|
|
ri-store.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
uuid.workspace = true
|
|
tokio.workspace = true
|
|
axum.workspace = true
|
|
tower-http.workspace = true
|
|
log.workspace = true
|
|
|
|
[[bin]]
|
|
name = "ri-headless"
|
|
path = "src/bin/ri_headless.rs"
|