tpt-hyle
RustSync-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.
Languages
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
| Crate | Role |
|---|---|
tpt-hyle | Core no_std micro-store (State + Sync segments) |
tpt-rift | CRDT sync engine, Transport trait |
tpt-hyle-rift | Unified API: open() / connect() |
tpt-rift-server | Self-hostable reference sync server |
tpt-hyle-cli | Inspect / dump-sync-log / compact / verify |
tpt-rift-transport-ws | WebSocket transport |
tpt-rift-transport-webrtc | WebRTC peer-to-peer transport |
tpt-rift-wasm | WebAssembly bindings (IndexedDB backing) |
tpt-hyle-test-utils | In-memory store, mock transports, proptest generators |
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
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.