1#![doc = include_str!("../README.md")]
2
3pub const VERSION: u32 = 1;
8
9mod model;
10mod retrieval;
11#[cfg(any(feature = "client", feature = "local"))]
12mod secrets;
13pub mod server;
14mod store;
15#[cfg(feature = "tool")]
16mod tool;
17
18pub use model::{
19 MemoryAccess, MemoryCandidate, MemoryImportReport, MemoryKey, MemoryLimits, MemoryRecord,
20 MemoryScan, MemorySource, normalize_identity,
21};
22pub use server::protocol::RemoteRole;
23#[cfg(feature = "local")]
24pub use store::LocalMemoryStore;
25#[cfg(all(feature = "client", feature = "local"))]
26pub use store::SelectedMemoryStore;
27pub use store::{MemoryError, MemoryStore};
28#[cfg(feature = "client")]
29pub use store::{RemoteClientError, RemoteMemoryClient, RemoteToken};
30#[cfg(feature = "tool")]
31pub use tool::{MemoryTool, MutationAuthorizer};
32
33#[cfg(test)]
34mod tests;