flybrain/services/flysim/Cargo.toml
acamilo 32631e2d02 flysim-store: the FLYSIM01 store and the sugar journal in one crate; journal boot header, rotation and reset clearing
store.rs and journal.rs move unchanged from flysim into the new flysim-store crate, which flysim
re-exports, so the session runtime can write and read the same store (STATE-02). The journal gains
a per-process boot header, rotation at 4 MiB with three kept files, and clear(), which
flysim --reset-to-milestone now calls after copying the stores aside.
2026-09-29 16:25:42 +00:00

44 lines
1.2 KiB
TOML

[workspace]
resolver = "3"
members = [
"crates/fly-edge",
"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