Next-Generation Rust Tooling & Ecosystem Bedrock
π Note: The foundational architecture (v0.1.0) is officially stable and published. We have successfully implemented our highly-modular facade pattern, CI/CD pipelines, and deep test integrations.
Cirious Codex is an ambitious, modern workspace dedicated to building high-performance Rust libraries. The primary architecture is designed to serve as the central hub and foundational bedrock for our ecosystem tools, prioritizing modularity, safety, and uncompromising execution speed.
Through the elegant use of the Facade Pattern, consumers only need to import the single cirious_codex crate. Under the hood, feature flags seamlessly orchestrate specialized, hyper-optimized micro-crates.
The workspace is composed of the following core libraries:
cirious_codex_config: A robust configuration engine that seamlessly merges JSON/TOML/YAML/RON files with environment variables into strongly-typed structs.cirious_codex_logger: The ultimate observability bedrock, providing customizableFormatters(JSON, Human, Styled) andDispatchers.cirious_codex_result: A revolutionary approach to error handling.CodexErrorcaptures system backtraces, exact code locations, and actionable diagnostic suggestions natively.cirious_codex_term: A lightweight, dependency-free terminal styling utility for rich ANSI text outputs.cirious_codex_cli: Premier entrypoint library for building production-ready CLIs and microservices in the Cirious ecosystem, with automated argument parsing, logger bootstrapping, and configuration loading.cirious_codex_metrics: A simplified application telemetry facade and native Prometheus exporter, offering decoupled metric recording (counters, gauges, histograms) with automated background listener scaffolding.
We believe in documentation-driven development. To learn how to use the Cirious Codex ecosystem, please explore:
- The Official Architecture (
/docs/architecture.md): A deep dive into how the internal components fit together seamlessly under thecirious_codexfacade crate. - The Official Docs (
/docs/index.md): Deep dives into the architecture, configuration resolution, error handling, and logging dispatchers. - The Examples (
/examples): Ready-to-run code snippets showcasing how the modules operate independently and as a cohesive ecosystem (cargo run --example 05_full_ecosystem --all-features).
Our workspace follows a structured evolutionary path. With the foundational layer stabilized, we are shifting focus from core primitives to ecosystem expansion:
Phase 1: Foundation & Observability (v0.1.0 - Current Release)
- Repository initialization and workspace declaration.
- Initial release of core data-oriented libraries (
logger,result,config,term). - Architect and integrate
cirious_codex_clifor rapid application scaffolding. - Develop
cirious_codex_metricsfor unified telemetry and Prometheus exposition. - Establish strict CI/CD pipelines and professional workspace integration tests.
- Define architectural contribution guidelines and comprehensive documentation.
- Publish the unified
cirious_codexfacade tocrates.ioas a workspace.
Phase 2: Ecosystem Expansion (Upcoming)
-
cirious_codex_net: Frictionless HTTP/microservice integrations (standardized middlewares, trace injection, and automatic RFC 7807 error responses). -
cirious_codex_fs: Resilient, async-first file system I/O wrappers returning rich, actionableCodexErrordiagnostics. -
cirious_codex_tasks: In-memory background job orchestrator with built-in Prometheus telemetry and automated logging.
Licensed under either of the following, at your option:
Engineered by Cirious Studio