Skip to main content

stout_state/
lib.rs

1//! stout-state: Local state management for stout
2//!
3//! This crate handles:
4//! - User configuration (config.toml)
5//! - Installed packages tracking (installed.toml)
6//! - Tap management (taps.toml)
7//! - Lockfile support (stout.lock)
8//! - Package history tracking (history.json)
9//! - Directory paths and defaults
10
11mod config;
12mod error;
13mod history;
14mod installed;
15mod lockfile;
16mod paths;
17mod tap;
18
19#[cfg(test)]
20mod tests;
21
22pub use config::{Config, SyncConfig};
23pub use error::{Error, Result};
24pub use history::{HistoryAction, HistoryEntry, PackageHistory};
25pub use installed::{InstalledPackage, InstalledPackages};
26pub use lockfile::{LockedPackage, Lockfile};
27pub use paths::Paths;
28pub use tap::{Tap, TapManager};