1#![deny(clippy::all)]
5
6#[cfg(feature = "mimalloc")]
7pub mod allocator;
8mod bindings;
9pub mod compatibility;
10pub mod core;
11
12#[cfg(feature = "node-api")]
13pub use bindings::node::*;
14
15#[cfg(not(target_arch = "wasm32"))]
16pub use crate::core::audit::{AuditEntry, AuditOp};
17pub use crate::core::documents::{
18 chunk_document, DocumentChunk, DocumentChunkRecord, DocumentInfo, DocumentInput,
19 DocumentReadChanged, DocumentRecord, DocumentResult, SearchOptions,
20};
21#[cfg(not(target_arch = "wasm32"))]
22pub use crate::core::engine::{
23 CompactionHandle, CompactionOptions, CompactionProgress, CompactionReport, CompactionResource,
24 CompactionStage, CompactionStatus,
25};
26#[cfg(not(target_arch = "wasm32"))]
27pub use crate::core::engine::{RankingMode, ReorderOutcome, ReorderReport, SparseSearch};
28pub use crate::core::entangled::EntangledHVec;
29pub use crate::core::error::{CommittedMutationError, IndeterminateMutationError, WarmError};
30#[cfg(not(target_arch = "wasm32"))]
31pub use crate::core::index::sparse_store::SparseVector;
32#[cfg(not(target_arch = "wasm32"))]
33pub use crate::core::memory_api::{Memory, MemoryConfig};
34pub use crate::core::types::{
35 ConceptCandidate, HardwareCapabilities, IndexStatus, MemorizeBatchItem, QueryExplanation,
36 RetrievalResult, StorageHealth, TextMetrics,
37};
38pub use crate::core::EmbeddingSpace;
39#[cfg(not(target_arch = "wasm32"))]
40pub use crate::core::WarmCore;
41#[cfg(not(target_arch = "wasm32"))]
42pub use crate::core::{
43 HistoryBounds, HistoryError, HistoryOptions, HistoryRevision, HistoryView, JournalPosition,
44 RevisionKind, TimeResolution,
45};
46#[cfg(not(target_arch = "wasm32"))]
47pub use WarmCore as HmsCore;
48pub use WarmError as HmsError;
49#[cfg(feature = "node-api")]
50pub use WarmMemorySystem as HolographicMemorySystem;
51
52#[cfg(feature = "provenance")]
53pub use crate::core::provenance::status_list::StatusListCredential;
54#[cfg(feature = "provenance")]
55pub use crate::core::provenance::types::{
56 DeletionRecord, ProvenanceRecord, StoreManifest, VerificationDetail, VerificationResult,
57};
58#[cfg(feature = "provenance")]
59pub use crate::core::provenance::TripleProvenanceParams;
60
61#[cfg(test)]
62mod tests;
63
64#[cfg(doctest)]
66#[doc = include_str!("../README.md")]
67struct ReadmeDoctests;