oximemo_core/lib.rs
1//! oximemo-core: the pure-Rust heart of oximemo.
2//!
3//! This crate owns the file store (source of truth), the derived metadata and
4//! search indexes, file-watching, and synchronization. It knows nothing about
5//! Tauri or clap; the desktop app and the CLI are thin adapters over the
6//! [`vault::Vault`] facade.
7
8// `CoreError` carries redb's large error enums inline (160B Result variant).
9// Harmless for oximemo's workload; silence the pedantic lint rather than box
10// every redb variant.
11#![allow(clippy::result_large_err)]
12
13pub mod assets;
14pub mod config;
15pub mod error;
16pub mod hash;
17pub mod memo;
18pub mod paths;
19pub mod tags;
20
21pub mod lock;
22pub mod store;
23pub mod sync;
24pub mod vault;
25pub mod watcher;
26
27pub use assets::{AssetInfo, AssetRef};
28pub use config::{Theme, VaultConfig};
29pub use error::{CoreError, Result};
30pub use memo::{
31 Cursor, Facets, IndexStats, Memo, MemoFilter, MemoHash, MemoId, MemoStats, MemoSummary, Page,
32};
33pub use paths::Paths;
34pub use vault::{DoctorReport, Vault};