pulsify-sqlite 6.0.0

Pulsify SQLite patch store and frame relay, file-compatible with the TypeScript SqlitePatchStore
Documentation
  • Coverage
  • 50%
    11 out of 22 items documented0 out of 2 items with examples
  • Size
  • Source code size: 64.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.4 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Gin-Quin

pulsify-sqlite

A SQLite patch store and frame relay for Pulsify documents, without any UI framework. It is the engine of tauri-plugin-pulsify, and usable on its own in any Rust process that persists Pulsify documents locally.

  • SqliteStore: the patch journal, file-compatible with the TypeScript SqlitePatchStore; either side can open a database written by the other.
  • relay_frame: answers a client frame (connect, upload) from the store, without decoding the CRDT operations.
  • Hub: sessions pinned to one document each, sharing one connection; rows stored by one session reach the document's other sessions.
use pulsify_sqlite::SqliteStore;

let store = SqliteStore::open("pulsify.sqlite")?;

Frames are the binary Pulsify protocol of the pulsify-protocol crate.

License

Apache-2.0