mod db;
mod error;
mod ffi;
mod files;
mod inference;
mod options;
mod transactions;
#[cfg(feature = "serde")]
mod maintenance;
#[cfg(feature = "serde")]
mod status;
pub use db::{
Database, MIN_THREAD_STACK_SIZE, OutcomeReceiptStatus, SUPPORTED_ABI_VERSION,
THREADING_SERIALIZED, Table, abi_version, decode_artifact_id_json, open_options_size,
threading_mode, validate_abi,
};
#[cfg(feature = "libantfly")]
pub use error::last_error_detail;
pub use error::{Error, Result};
pub use files::{check_file_json, copy_stable_snapshot_file_json, restore, restore_file};
pub use inference::{
Inference, InferenceError, InferenceOptions, InferenceResult, PullProgress,
inference_options_size,
};
pub use options::{
GraphDirection, OpenMode, OpenOptions, Profile, RestoreOptions, Storage, TtlCleanupOptions,
WriteIntent, inference_mode,
};
pub use transactions::{TxnId, TxnStatus};
#[cfg(feature = "serde")]
pub use maintenance::{
CheckReport, CompactReport, LiveByteAccounting, LiveByteCategory, StableSnapshotReport,
VacuumReport, check_file, copy_stable_snapshot_file,
};
#[cfg(feature = "serde")]
pub use status::{
Capabilities, InferenceStatus, MemoryAdmissionStats, PendingWorkStatus,
ReplayGeneratedEnrichmentsResult, Status, StorageStatus, TypedError, TypedResult,
};
#[cfg(feature = "serde")]
pub mod cypher;
#[cfg(feature = "serde")]
pub mod sql;
#[cfg(feature = "sqlx")]
pub mod sqlx;