Skip to main content

Crate fabryk_core

Crate fabryk_core 

Source
Expand description

Fabryk Core — shared types, traits, errors, and utilities.

This crate provides the foundational types used across all Fabryk crates. It has no internal Fabryk dependencies (dependency level 0).

§Modules

  • error: Error types and Result alias
  • state: Generic application state container
  • traits: Core traits for domain abstraction
  • util: File, path, and ID utilities

§fabryk-core

Core types, traits, errors, and utilities for the Fabryk knowledge fabric.

§Status

Under construction — being extracted from the music-theory MCP server.

§Features

  • Error types and Result alias
  • File and path utilities
  • ConfigProvider trait for domain configuration
  • AppState for application state management

§License

Apache-2.0

Re-exports§

pub use error::Error;
pub use error::Result;
pub use service::ServiceHandle;
pub use service::ServiceState;
pub use state::AppState;
pub use traits::ConfigManager;
pub use traits::ConfigProvider;
pub use util::ids::id_from_path;
pub use util::ids::normalize_id;
pub use util::resolver::PathResolver;

Modules§

deploy
Cloud deployment detection utilities.
error
Error types for the Fabryk ecosystem.
service
Service lifecycle state management.
state
Application state management.
traits
Core traits for Fabryk domain abstraction.
util
Utility modules for file operations, path handling, ID computation, and common helpers.