Add Virtual Git Context System (VGCS) crate to handle versioned file storage backed by git2 and blob store. Features: - ContextStore trait for repo init, read, list, diff, merge. - Transaction trait for atomic writes and commits. - Large file support (>1MB) using content-addressed blob store. - In-memory merge with conflict detection. - Unit and integration tests covering concurrency and conflicts.
18 lines
712 B
TOML
18 lines
712 B
TOML
[package]
|
|
name = "workflow-context"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
git2 = { version = "0.18", features = ["vendored-openssl"] } # Using 0.19 as it is newer than 0.18, unless strictly pinned. 0.18 mentioned in docs, but 0.19 is stable. Sticking to 0.18 if strictly required? Docs say 0.18. I will use 0.19 to be safe with modern rust, or 0.18 if user insists. User said "git2 (0.18)". I'll stick to 0.18 to follow specs exactly.
|
|
sha2 = "0.10"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
hex = "0.4"
|
|
walkdir = "2.3" # Useful for recursive directory operations if needed, though git2 handles trees.
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.8"
|