Skip to main content

secs_types/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(unsafe_op_in_unsafe_fn)]
3//! Shared vocabulary of SECS 2R.
4//!
5//! Domain types (roles, settings, the signal-chain value), error codes, the
6//! IPC types and the one atomic file writer ([`fs`]) live here, so the service, the app, the CLI and the screen agree
7//! on one definition. Types the screen sees derive `ts_rs::TS`; their
8//! TypeScript bindings are generated into `apps/secs2r/ui/src/ipc/bindings`
9//! whenever this crate's tests run, and CI fails when the committed copy
10//! differs (docs/adr/0003).
11
12pub mod calibration;
13pub mod chain;
14pub mod compute;
15pub mod fs;
16pub mod ipc;
17pub mod local_api;
18pub mod role;
19pub mod rules;
20pub mod settings_edit;
21pub mod target;