Crate leptos_sync_core

Crate leptos_sync_core 

Source
Expand description

Core synchronization library for Leptos applications

This crate provides the foundation for local-first, offline-capable data synchronization using CRDTs (Conflict-free Replicated Data Types).

Re-exports§

pub use collection::LocalFirstCollection;
pub use crdt::LwwMap;
pub use crdt::LwwRegister;
pub use crdt::Mergeable;
pub use crdt::ReplicaId;
pub use error::CoreError;
pub use error::Result;
pub use storage::LocalStorage;
pub use storage::StorageError;
pub use sync::SyncError;
pub use sync::SyncState;
pub use transport::SyncTransport;
pub use transport::TransportError;

Modules§

collection
Local-first collection with synchronization capabilities
crdt
CRDT (Conflict-free Replicated Data Type) implementations
error
Error types and handling for the core library
features
Features available in this crate
query
Query API for local-first collections
security
Security features including encryption and compression
storage
Storage layer for local-first applications
sync
Synchronization engine implementation
transport
Transport layer for synchronization

Traits§

Deserialize
A data structure that can be deserialized from any data format supported by Serde.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Attribute Macros§

async_trait

Derive Macros§

Deserialize
Serialize