Expand description
§grafeo-common
The foundation layer - types and utilities used everywhere in Grafeo.
You probably don’t need to use this crate directly. The main grafeo crate
re-exports the types you’ll actually use (NodeId, EdgeId, Value).
If you’re building extensions or diving into internals, here’s what’s here:
§Modules
types- Core types:NodeId,EdgeId,Value,PropertyKeycollections- Type aliases for hash maps/sets with consistent hashingmemory- Allocators for performance-critical paths (arenas, pools)mvcc- Version chains for snapshot isolationutils- Hashing, error types, and other helpers
Re-exports§
pub use mvcc::Version;pub use mvcc::VersionChain;pub use mvcc::VersionInfo;pub use types::EdgeId;pub use types::EpochId;pub use types::LogicalType;pub use types::NodeId;pub use types::PropertyKey;pub use types::Timestamp;pub use types::TxId;pub use types::Value;pub use utils::error::Error;pub use utils::error::Result;
Modules§
- collections
- Standard collection type aliases for Grafeo.
- memory
- Custom allocators tuned for graph database workloads.
- mvcc
- MVCC (Multi-Version Concurrency Control) primitives.
- types
- The core types you’ll work with in Grafeo.
- utils
- Common utilities used throughout Grafeo.