1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Pure path management and raw file storage crate for application config/data directories.
//!
//! `local-store` closes over local storage concerns: platform-agnostic path
//! resolution, atomic file/dir storage, and format dispatch. It is the storage
//! foundation of the `version-migrate` workspace, and is usable standalone
//! when schema versioning is not needed.
//!
//! ## Architecture
//!
//! - [`paths`] — `AppPaths` / `PrefPath` resolve config and data directories
//! (`System` / `Xdg` / `CustomBase` strategies).
//! - [`storage`] — `FileStorage`: single-file storage with atomic writes
//! (temp file + fsync + rename + parent-directory sync).
//! - [`dir_storage`] — `DirStorage` / `AsyncDirStorage`: one-file-per-entity
//! storage with filename encoding (`Direct` / `UrlEncode` / `Base64`).
//! - [`atomic_io`] — shared low-level atomic-write primitives.
//! - [`format_convert`] — pure JSON ↔ TOML value conversion.
//! - [`errors`] — [`StoreError`], the unified error type.
//!
//! Content is stored and retrieved as opaque UTF-8 strings; serialization and
//! schema evolution are the caller's responsibility (see `version-migrate`).
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use AsyncDirStorage;