1#![no_std]
8#![forbid(unsafe_code)]
9
10extern crate alloc;
11
12#[cfg(feature = "std")]
13extern crate std;
14
15pub mod edge;
16pub mod entity;
17pub mod error;
18pub mod event;
19pub mod hash;
20pub mod header;
21pub mod id;
22pub mod khive_error;
23pub mod namespace;
24pub mod note;
25pub mod pack;
26pub mod substrate;
27pub mod timestamp;
28pub mod vector;
29
30pub use edge::{EdgeCategory, EdgeRelation};
31pub use entity::{Entity, EntityKind, Link, PropertyValue};
32pub use error::{TypeError, UnknownVariant};
33pub use event::{
34 AggregateRef, ApplyResult, Event, EventBuilder, EventKind, EventOutcome, EventPayload,
35 ProposalAppliedPayload, ProposalChangeset, ProposalCreatedPayload, ProposalDecision,
36 ProposalReviewedPayload, ProposalWithdrawnPayload, RerankExecutedPayload,
37};
38pub use hash::Hash32;
39pub use header::Header;
40pub use id::{Id128, ParseIdError};
41pub use khive_error::{Details, ErrorCode, ErrorDomain, ErrorKind, KhiveError, RetryHint};
42pub use namespace::Namespace;
43pub use note::{Note, NoteStatus};
44#[allow(deprecated)]
45pub use pack::VerbDef;
46pub use pack::{
47 EdgeEndpointRule, EndpointKind, HandlerDef, NoteKindSpec, NoteLifecycleSpec, Pack,
48 PackSchemaPlan, VerbCategory, Visibility,
49};
50pub use substrate::{SubstrateKind, SUBSTRATE_COUNT};
51pub use timestamp::Timestamp;
52pub use vector::DistanceMetric;