mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-20 00:11:34 +00:00
Home lived in fabro-config, which meant fabro-types (a dependency of fabro-config) could not use it — forcing Settings::storage_dir() to duplicate the FABRO_HOME / dirs::home_dir() fallback logic. Moving Home to the leaf crate fabro-util breaks this layering constraint and lets Settings::storage_dir() delegate to Home::from_env().storage_dir(). Also adds stable accessors: storage_dir, socket_path, workflows_dir, logs_dir, tmp_dir. fabro-config re-exports Home for API compatibility. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
292 B
Rust
18 lines
292 B
Rust
pub mod backoff;
|
|
pub mod check_report;
|
|
pub mod env;
|
|
pub mod home;
|
|
pub mod json;
|
|
pub mod path;
|
|
pub mod printer;
|
|
pub mod redact;
|
|
pub mod run_log;
|
|
pub mod terminal;
|
|
pub mod text;
|
|
pub mod version;
|
|
pub mod warnings;
|
|
|
|
#[doc(hidden)]
|
|
pub use console;
|
|
pub use home::Home;
|
|
pub use warnings::WARNINGS;
|