Skip to main content

Crate local_store

Crate local_store 

Source
Expand description

Pure path management and raw file storage crate for application config/data directories.

Re-exports§

pub use dir_storage::DirStorage;
pub use dir_storage::DirStorageStrategy;
pub use dir_storage::FilenameEncoding;
pub use errors::IoOperationKind;
pub use errors::StoreError;
pub use format_convert::json_to_toml;
pub use format_convert::FormatConvertError;
pub use paths::AppPaths;
pub use paths::PathStrategy;
pub use paths::PrefPath;
pub use storage::AtomicWriteConfig;
pub use storage::FileStorage;
pub use storage::FileStorageStrategy;
pub use storage::FormatStrategy;
pub use storage::LoadBehavior;

Modules§

atomic_io
Atomic file I/O helpers shared across storage types.
dir_storage
Raw directory-based storage for one-file-per-entity persistence.
errors
Error types for local store operations.
format_convert
Format conversion helpers for storage operations.
paths
Platform-agnostic path management for application configuration and data.
storage
Raw file storage with ACID guarantees.