laurus 0.10.0

Unified search library for lexical, vector, and semantic retrieval
Documentation
//! Storage-layer platform abstractions (Issue #504, #508).
//!
//! Centralises every `cfg(target_os)` / `cfg(unix)` switch used by
//! the file storage backend so the rest of `storage/` can stay
//! platform-agnostic. New per-OS knobs go here, not inline in the
//! call site.
//!
//! # Layout
//!
//! - [`unix`] — Unix-family impl (Linux, macOS, BSDs).
//! - [`windows`] — Windows impl.
//! - The dispatcher re-exports each function from the matching
//!   submodule via a `#[cfg]` gate, so callers see a single uniform
//!   API regardless of host OS.

#[cfg(unix)]
pub mod unix;
#[cfg(windows)]
pub mod windows;

#[cfg(unix)]
pub use unix::default_use_mmap;
#[cfg(windows)]
pub use windows::default_use_mmap;