Files
leleka/crates/runtime-client/Cargo.toml
T
Pavlo RatushnyiandClaude Sonnet 5.5 c9aad38caa refactor: extract the runtime gRPC client into leleka-runtime-client and add GrpcBackend
proto/runtime.proto, the wire conversions and the validated RuntimeClient move out of
strata-desktop-core so strata-next can use them; strata-desktop-core re-exports them
unchanged. GrpcBackend implements the Backend contract by attaching to a runtime an
operator already loaded (no Load/Unload RPC), re-reading epoch and handle before every
generation, and ending a generation without a terminal event on any transport or frame
error. 9 loopback HTTP/2 tests with a scripted runtime server.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 02:42:11 +02:00

29 lines
908 B
TOML

[package]
name = "leleka-runtime-client"
version = "0.1.0"
description = "Client side of the leleka.runtime.v1 gRPC contract: wire messages, validated client, and a Backend that attaches to a running leleka-inference"
edition.workspace = true
license.workspace = true
rust-version.workspace = true
[dependencies]
leleka-backend-api = { path = "../backend-api" }
prost = "0.14"
tokio = { version = "1", features = ["rt", "time", "sync", "net"] }
tonic = "0.14.6"
tonic-prost = "0.14.6"
uuid = { version = "1", features = ["v4"] }
[build-dependencies]
protoc-bin-vendored = "3"
tonic-prost-build = "0.14.6"
[dev-dependencies]
futures-util = "0.3"
leleka-backend-api = { path = "../backend-api", features = ["scripted"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "time", "sync", "net"] }
tokio-stream = { version = "0.1", features = ["net", "sync"] }
[lints]
workspace = true