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>
20 lines
417 B
TOML
20 lines
417 B
TOML
[package]
|
|
name = "lutra-testkit"
|
|
description = "Test helpers and fixtures, used by tests only"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
publish.workspace = true
|
|
|
|
[package.metadata.lutra]
|
|
layer = "tool"
|
|
|
|
[dependencies]
|
|
lutra-control.workspace = true
|
|
lutra-engine.workspace = true
|
|
serde_json = "1.0.154"
|
|
|
|
[lints]
|
|
workspace = true
|