types 0.1.0

Shared types and DTOs for the Liturgy workspace.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

/// Shared calendar type used across crates.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum CalendarType {
    /// 1954 Roman Calendar
    Calendar1954,
    /// 1962 Roman Calendar (Extraordinary Form)
    Calendar1962,
    /// Ordinary Form (Post-Vatican II)
    OrdinaryForm,
}