Skip to main content

Crate walrust

Crate walrust 

Source
Expand description

walrust: SQLite WAL sync to S3-compatible storage.

Provides the embeddable primitives for:

  • WAL parsing and frame extraction
  • LTX (Litestream Transaction) encoding/decoding
  • S3-compatible storage backend
  • Shadow WAL for decoupled frame uploads
  • Sync operations: WAL sync, snapshots, restore

This crate is designed to be embedded as a library (not run as a sidecar). The caller controls scheduling and lifecycle.

Re-exports§

pub use storage::S3Backend;
pub use storage::StorageBackend;
pub use sync::LtxEntry;
pub use sync::Manifest;
pub use sync::ReplicationConfig;
pub use sync::SyncState;
pub use replicator::Replicator;
pub use retry::RetryConfig;
pub use retry::RetryPolicy;

Modules§

errors
Structured error types and exit codes for walrust
ltx
LTX (Litestream Transaction) format support
replicator
Multi-database WAL replicator.
retry
Retry logic with exponential backoff for walrust storage operations
s3
shadow
Shadow WAL implementation for walrust
storage
Storage backend abstraction for walrust
sync
Core sync operations for walrust: WAL sync, snapshots, restore, and manifest management.
wal