gpp_core/lib.rs
1//! `gpp-core` — content-addressed, encrypted-capable object store.
2//!
3//! This is layer 1 (Storage) of gpp. Phase 0 implements the unencrypted,
4//! zstd-compressed object store with [`Blob`] and [`Tree`] objects, atomic
5//! idempotent writes, and hash-verified reads.
6//!
7//! See `docs/ARCHITECTURE.md` and `docs/DATA_MODEL.md`.
8#![forbid(unsafe_code)]
9
10mod error;
11mod hash;
12mod object;
13mod store;
14mod wire;
15
16pub use error::{Error, Result};
17pub use hash::{HASH_LEN, HASH_STR_LEN, Hash, SHORT_LEN};
18pub use object::{Blob, EntryKind, Object, ObjectType, Tree, TreeEntry};
19pub use store::{ObjectStore, flatten_tree};
20pub use wire::{VERSION as WIRE_VERSION, flags as wire_flags};