Skip to main content

fabryk_core/
lib.rs

1//! Fabryk Core — shared types, traits, errors, and utilities.
2//!
3//! This crate provides the foundational types used across all Fabryk crates.
4//! It has no internal Fabryk dependencies (dependency level 0).
5//!
6//! # Modules
7//!
8//! - [`error`]: Error types and Result alias
9//! - [`state`]: Generic application state container
10//! - [`traits`]: Core traits for domain abstraction
11//! - [`util`]: File, path, and ID utilities
12
13#![doc = include_str!("../README.md")]
14
15pub mod deploy;
16pub mod error;
17pub mod service;
18pub mod state;
19pub mod traits;
20pub mod util;
21
22// Re-export key types at crate root for convenience
23pub use error::{Error, Result};
24pub use service::{ServiceHandle, ServiceState};
25pub use state::AppState;
26pub use traits::ConfigManager;
27pub use traits::ConfigProvider;
28
29// Convenience re-exports from util
30pub use util::ids::{id_from_path, normalize_id};
31pub use util::resolver::PathResolver;