flybrain/services/flysim/Cargo.toml
acamilo 29f9b7da3b flysim: the control API as flybus services with per-client grants (FLY_CONTROL_VIA=bus)
The control semantics move to flysim::control, one ControlRequest per
docs/control-api.md endpoint; flysim::api becomes the HTTP layer over a
ControlBackend. flysim::controlbus registers them as services scoped per
session and per agent (fly), with a closed grant table per client role;
flysim::bus composes the feed and control on one embedded router.
fly-control-edge serves :7401 from the services with flysim's own router.

Tests: every endpoint through the edge equals direct (status, headers,
body, and raw HTTP over TCP); grants refuse what they should, including
an input service on a shared router and per-agent/per-port player grants;
backpressure, cancel, deadlines and the edge's unbind/rebind; serve() in
control-bus mode; the session runtime's service contracts over the bus.
2026-10-01 23:33:59 +00:00

46 lines
1.3 KiB
TOML

[workspace]
resolver = "3"
members = [
"crates/fly-control-edge",
"crates/fly-edge",
"crates/fly-legacy-session",
"crates/fly-session",
"crates/fly-session-types",
"crates/flybrain-core",
"crates/flybrain-gb",
"crates/flybus",
"crates/flysim",
"crates/flysim-store",
]
[workspace.package]
version = "0.1.1"
rust-version = "1.94"
license = "Apache-2.0"
publish = false
[workspace.dependencies]
base64 = "0.22"
cc = "1.4.2"
flate2 = "1"
cudarc = { version = "0.19.9", default-features = false, features = [
"std",
"driver",
"nvrtc",
"dynamic-loading",
"cuda-12080",
] }
indexmap = { version = "2", features = ["serde"] }
libm = "0.2"
ryu-js = "1"
serde = { version = "1.0.229", features = ["derive"] }
# `float_roundtrip` is not optional: without it serde_json's fast float parser can land 1 ulp off
# the value `JSON.parse` produces, which is enough to break a golden comparison.
serde_json = { version = "1.0.151", features = ["preserve_order", "float_roundtrip"] }
sha2 = "0.10.9"
# Bit-exactness with the TypeScript oracle is the whole point of this workspace, so the
# release profile must not be allowed to reassociate or contract float arithmetic. Rust does
# neither by default; these settings only pin the parts we do care about.
[profile.release]
debug = 1