Skip to main content

surjection_core/
lib.rs

1//! Core library of Surjection.
2//!
3//! This crate never reads process-global state (`std::env`, home directory
4//! lookups, the system clock) outside [`env`]. Callers inject an [`Env`] and an
5//! [`Fs`]; the CLI and the app build them from the process, tests build them
6//! from a temp root.
7
8pub mod access;
9pub mod adapters;
10pub mod address_check;
11pub mod agent;
12pub mod apply;
13pub mod brand;
14pub mod catalog;
15pub mod diagnostics;
16pub mod eject;
17pub mod env;
18pub mod error;
19pub mod formats;
20pub mod fs;
21pub mod layering;
22pub mod local_settings;
23pub mod mcp_source;
24pub mod migrate;
25pub mod model;
26pub mod paths;
27pub mod process;
28pub mod remote;
29pub mod scan;
30pub mod secrets;
31pub mod server_input;
32pub mod skills;
33pub mod sources;
34pub mod store;
35pub mod versions;
36
37pub use env::{Clock, Env, EnvBuilder, FixedClock, KnownFolder, Os, SystemClock};
38pub use error::{CoreError, ErrorCode};
39pub use fs::{Fs, RealFs};