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>
29 lines
908 B
TOML
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
|