khive_vcs/lib.rs
1// Copyright 2026 khive contributors. Licensed under Apache-2.0.
2//
3//! KG versioning — content-addressed snapshot hashing and core types.
4//!
5//! The full snapshot/branch/merge pipeline was superseded by ADR-048
6//! (git-native KG versioning via Deno CLI). This crate retains only the
7//! foundational primitives still referenced by the wider workspace.
8//!
9//! # Crate layout
10//!
11//! - [`types`] — `KgSnapshot`, `KgBranch`, `SnapshotId`, `RemoteConfig`
12//! - [`hash`] — canonical JSON serialization + SHA-256 snapshot hashing
13//! - [`error`] — `VcsError` type
14
15pub mod error;
16pub mod hash;
17pub mod types;
18
19pub use error::VcsError;
20pub use types::{KgBranch, KgSnapshot, RemoteAuth, RemoteConfig, SnapshotId};