Skip to main content

sekejap_dist/
lib.rs

1//! The distribution layer: everything that puts the engine in front of an
2//! operator or a foreign runtime. It depends on `sekejap-lang` and
3//! `sekejap-core`; nothing in those two may depend on it.
4//!
5//! What is here today is `src/cli/`, the operator binaries declared as
6//! `[[bin]]` targets of this crate, and [`service`], which is
7//! `docs/dist/OPS_CONTRACT.md` §1-§5: one writer, snapshot readers, the
8//! publish barrier, the statement timeout, the public cancel and the
9//! commit-time change feed.
10//!
11//! [`pg`] is the PostgreSQL wire protocol over that service
12//! (`docs/dist/WIRE_CONTRACT.md`, `docs/dist/OPS_CONTRACT.md` §9): a sans-IO
13//! protocol engine, a `std::net` adapter, and the `sekejap-pg` binary.
14//!
15//! Foreign-language wrappers are listed in `bindings/README.md`; none is
16//! built from this workspace.
17
18pub mod pg;
19pub mod service;