pcal/
lib.rs

1//! # pcal
2//!
3//! A terminal-based Shahanshahi (Imperial Persian) calendar inspired by `cal`.
4//!
5//! Displays months and years in the Shahanshahi calendar system with support for
6//! today highlighting, Persian script output, and day-of-year numbering.
7
8/// Month grid computation for building calendar layouts.
9pub mod calendar;
10
11/// Command-line argument definitions using clap.
12pub mod cli;
13
14/// Colored terminal output with today highlighting.
15pub mod display;
16
17/// Plain-text calendar formatting without color.
18pub mod formatter;
19
20/// Persian month/weekday names, numeral conversion, and month parsing.
21pub mod persian;
22
23/// Shahanshahi (Imperial Persian) to Gregorian date conversion.
24pub mod shahanshahi;