tpt-archon-bridge
Phase 2a of tpt-archon:
zero-copy IPC and unified memory management gluing the
tpt-archon-core storage engine to the kernel.
Modules
capability— strongly-typed, unforgeable, revocableCapabilitytokens minted by aCapabilityIssuer. A capability grants aRight(Read/Write/ReadWrite) over aResource(a page or a channel). Tokens cannot be fabricated from raw integers, and can be revoked.page_cache— theUnifiedPageCachetrait that lets the kernel map storage pages directly into the database's address space with no double-buffering, plusCorePageCache, which adapts the core buffer pool to it. A page written viatpt-archon-coreis visible through the bridge with no copy (see the integration test in that module).grant—CapabilityGrant, a thin safe layer overUnifiedPageCachethat bundles the capability check and the page borrow into one call, returning aMemoryView/MemoryViewMutinstead of a raw page reference. No new unsafe code: it's backed by the same safe borrowsmap_read/map_writealready return.
Features
std(default) — forwards totpt-archon-core/std. Build with--no-default-featuresforno_std.
Publishing note
The dependency on tpt-archon-core is a path dependency during development.
Switch it to a version requirement before publishing (see the repo-root
TODO.md, Phase 2a crates.io readiness).
License
Licensed under either of MIT or Apache-2.0 at your option.