node-app-replica 7.7.43

Change-only replication for Node app backends: a per-collection ledger (epoch, version, tombstones) that answers a device's pull with nothing new, the changes, or a full copy
Documentation
[package]
name = "node-app-replica"
version = "7.7.43"
edition = "2021"
rust-version = "1.75"
description = "Change-only replication for Node app backends: a per-collection ledger (epoch, version, tombstones) that answers a device's pull with nothing new, the changes, or a full copy"
license = "MIT OR Apache-2.0"
repository = "https://github.com/econ-v1/node"
readme = "README.md"
keywords = ["replication", "sync", "node-app"]

# Deliberately NOT a dependent of `node-app-sdk-rust`: an app pinned to an older
# SDK adopts this crate without an SDK bump (Phase 3 spec, section 5.2). The
# versions are literal, not `workspace = true`, so the crate publishes alone.
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha2 = "0.10"
# The ledger on the app's own SQLite connection. 0.31 shares libsqlite3-sys 0.28
# with diesel and with the apps that share node.db. Never enable `bundled`: a
# native app runs inside node-server's process and must link the host's
# libsqlite3 (one engine, one lock table; ADR-141).
rusqlite = { version = "0.31", optional = true }

[features]
default = []
sqlite = ["dep:rusqlite"]

[dev-dependencies]
# Turns on `sqlite` for this crate's own tests, so `cargo test -p
# node-app-replica` runs the SQLite store without a `--features` flag.
node-app-replica = { path = ".", features = ["sqlite"] }
proptest = "1.11.0"
rusqlite = "0.31"
tempfile = "3"