grafeo_common/lib.rs
1//! # grafeo-common
2//!
3//! Foundation layer for Grafeo: types, memory allocators, and utilities.
4//!
5//! This crate provides the fundamental building blocks used by all other
6//! Grafeo crates. It has no internal dependencies and should be kept minimal.
7//!
8//! ## Modules
9//!
10//! - [`types`] - Core type definitions (NodeId, EdgeId, Value, etc.)
11//! - [`memory`] - Memory allocators (arena, bump, pool)
12//! - [`mvcc`] - MVCC primitives (VersionChain, VersionInfo)
13//! - [`utils`] - Utility functions and helpers (hashing, errors)
14
15pub mod memory;
16pub mod mvcc;
17pub mod types;
18pub mod utils;
19
20// Re-export commonly used types at crate root
21pub use mvcc::{Version, VersionChain, VersionInfo};
22pub use types::{EdgeId, EpochId, LogicalType, NodeId, PropertyKey, Timestamp, TxId, Value};
23pub use utils::error::{Error, Result};