Files
Synapse/crates/synapse-history/Cargo.toml
T
dasemuandClaude Sonnet 5.5 3ab03777ea feat(history): git-based snapshots, page history and restore
Deterministic Logseq-compatible Markdown export committed to a bare gix
repository, incremental snapshots driven by the op log, snapshot policy,
page history/diff, restore through the Graph API and pure-Rust HTTP push.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 03:36:59 +02:00

26 lines
906 B
TOML

[package]
name = "synapse-history"
version = "0.1.0"
edition.workspace = true
license.workspace = true
description = "Automatic git-based backup and version history of a Synapse graph"
[dependencies]
synapse-core.workspace = true
chrono.workspace = true
rusqlite.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
# Pure-Rust git (no C toolchain: builds for Android/Windows). Local repo only; push is ours.
gix = { version = "0.89", default-features = false, features = ["sha1"] }
# Blocking HTTPS client (rustls) for pushing: gix cannot push yet.
ureq = { version = "3", default-features = false, features = ["rustls"] }
# zlib for the pack we send (already in the tree through gix/ureq).
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
# Unified text diffs for page versions.
similar = "2"
[dev-dependencies]
tempfile = "3"