Lutra/crates/control/Cargo.toml
danny a3f83102f1 M0.7: control channel over JSON lines
lutra_control::start binds 127.0.0.1:PORT and serves app.ping,
engine.execute, engine.listCommands and ui.screenshot through the Backend
trait the host implements. Lines are capped at 16 MiB, every input gets a
well-formed response with a stable error code, and backend panics become
internal errors. Proptests cover arbitrary lines; a TCP integration test
uses the new testkit EngineBackend.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 06:47:30 +02:00

24 lines
488 B
TOML

[package]
name = "lutra-control"
description = "JSON-lines control channel"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
publish.workspace = true
[package.metadata.lutra]
layer = 5
[dependencies]
lutra-engine.workspace = true
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
[lints]
workspace = true
[dev-dependencies]
lutra-testkit.workspace = true
proptest = "1.12.0"