Skip to main content

Crate cirious_codex_derive

Crate cirious_codex_derive 

Source
Expand description

§Cirious Codex Derive

The foundational procedural macro engine for the Cirious Codex ecosystem.

This crate centralizes all #[derive(...)] and attribute macros used across the Cirious workspace. It is designed to provide zero-cost abstractions, strict compile-time validation, and a seamless developer experience (DX).

§Core Features

  • Codex CLI: Generates strict, predictable command-line argument parsers that enforce clear execution flows and eliminate ambiguous terminal inputs.
  • Ecosystem Synergy: Built to interoperate flawlessly with cirious_codex_config and cirious_codex_logger.

Derive Macros§

CodexCommand
Derives the CodexCommand trait for a struct.
CodexParser
Derives a strict, zero-ambiguity command-line parser for the target struct.
CodexSubcommand
Derives subcommand routing logic for an Enum.