tpt-hyle

Rust

Sync-native storage for offline-first apps. A pure-Rust, no_std append-only key-value store whose write log doubles as the replication feed, plus a CRDT sync engine (tpt-rift). No SQLite, no triggers, no C FFI. MIT OR Apache-2.0.

0 stars0 forks0 watchersApache License 2.0

Languages

Rust100.0%
README

tpt-hyle

A sync-native storage primitive for offline-first apps. By TPT Solutions.

tpt-hyle is a pure-Rust, append-only key-value/document store whose write log is the replication feed. tpt-rift is a CRDT sync engine that reads that feed directly. No SQLite, no shadow tables, no triggers..

Status: pre-alpha scaffold. Nothing is implemented yet. See TODO.md and spec.txt (RFC 003).

Crates

CrateRole
tpt-hyleCore no_std micro-store (State + Sync segments)
tpt-riftCRDT sync engine, Transport trait
tpt-hyle-riftUnified API: open() / connect()
tpt-rift-serverSelf-hostable reference sync server
tpt-hyle-cliInspect / dump-sync-log / compact / verify
tpt-rift-transport-wsWebSocket transport
tpt-rift-transport-webrtcWebRTC peer-to-peer transport
tpt-rift-wasmWebAssembly bindings (IndexedDB backing)
tpt-hyle-test-utilsIn-memory store, mock transports, proptest generators

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this work, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.