Expand description
khive-types — core primitives and substrate data types.
#![no_std] compatible. Minimal dependencies. No ID generation, no clock
access, no panics. Substrate structs (Note, Entity, Event) are merged into
this crate — they are the data shape that the rest of the runtime operates on.
Re-exports§
pub use edge::EdgeCategory;pub use edge::EdgeRelation;pub use edge::UnknownRelation;pub use entity::Entity;pub use entity::EntityKind;pub use entity::Link;pub use entity::PropertyValue;pub use event::Event;pub use event::EventBuilder;pub use event::EventOutcome;pub use header::Header;pub use id::Id128;pub use id::ParseIdError;pub use namespace::Namespace;pub use note::Note;pub use note::NoteKind;pub use note::NoteStatus;pub use substrate::SubstrateError;pub use substrate::SubstrateKind;pub use substrate::SUBSTRATE_COUNT;pub use timestamp::Timestamp;pub use vector::DistanceMetric;
Modules§
- edge
- Edge relation types for the closed ontology defined in ADR-002 / ADR-021.
- entity
- Entity substrate — graph nodes with typed properties and links.
- event
- Event substrate — universal system log.
- header
- Common header for substrate records.
- id
- 128-bit identifier — universal ID primitive.
- namespace
- Namespace — string-based scoping for substrate records.
- note
- Note substrate — temporal-referential records (ADR-004, ADR-019).
- substrate
- Substrate discriminant — the 3 data types in khive (ADR-004).
- timestamp
- Timestamp — microseconds since Unix epoch.
- vector
- Vector similarity metric.