Skip to main content

Crate sekejap_dist

Crate sekejap_dist 

Source
Expand description

The distribution layer: everything that puts the engine in front of an operator or a foreign runtime. It depends on sekejap-lang and sekejap-core; nothing in those two may depend on it.

What is here today is src/cli/, the operator binaries declared as [[bin]] targets of this crate, and service, which is docs/dist/OPS_CONTRACT.md §1-§5: one writer, snapshot readers, the publish barrier, the statement timeout, the public cancel and the commit-time change feed.

pg is the PostgreSQL wire protocol over that service (docs/dist/WIRE_CONTRACT.md, docs/dist/OPS_CONTRACT.md §9): a sans-IO protocol engine, a std::net adapter, and the sekejap-pg binary.

Foreign-language wrappers are listed in bindings/README.md; none is built from this workspace.

Modules§

pg
The PostgreSQL wire protocol, so psql, DBeaver, pgjdbc, psycopg and QGIS connect to a sekejap service with no sekejap-specific code.
service
The embedded wrapper of docs/dist/OPS_CONTRACT.md §1-§5: one writer, snapshot readers, a publish barrier with a stated staleness window, a wall-clock statement timeout, a public cancel, and a change feed that fires once per committed batch.