Crate pluresdb_core

Crate pluresdb_core 

Source
Expand description

Core data structures, CRDT logic, and domain models that power PluresDB.

The goal of this crate is to offer a lightweight, dependency-free-on-FFI foundation that can be reused across the native CLI, the Node addon, and any future host integrations.

Structs§

CrdtStore
A simple conflict-free replicated data store backed by a concurrent map.
Database
DatabaseOptions
ExecutionResult
NodeRecord
Metadata associated with a persisted node in the CRDT store.
QueryResult
Statement

Enums§

CrdtOperation
CRDT operations that clients may apply to the store.
DatabaseError
DatabasePath
SqlValue
Primitive SQLite values returned by the native engine.
StoreError
Errors that can be produced by the CRDT store.

Type Aliases§

ActorId
Logical actor identifier used when merging CRDT updates.
DbResult
NodeData
Arbitrary JSON payload that callers persist inside PluresDB.
NodeId
Unique identifier for a stored node.
VectorClock
A key-value map of logical clocks per actor.