Skip to main content

archelon_core/
lib.rs

1//! Core library for **archelon** — a Markdown-based task and note manager that
2//! keeps your data alive as plain text.
3//!
4//! This crate provides the data models, parsing utilities, and high-level
5//! operations that are shared across the CLI and MCP frontends.
6//!
7//! # Modules
8//!
9//! - [`entry`] — Core data structures: [`entry::Entry`], [`entry::Frontmatter`],
10//!   [`entry::TaskMeta`], and [`entry::EventMeta`].
11//! - [`entry_ref`] — [`entry_ref::EntryRef`]: a canonical input type that
12//!   accepts either a filesystem path or a CarettaId prefix.
13//! - [`error`] — Library-wide [`error::Error`] and [`error::Result`] types.
14//! - [`journal`] — Journal directory discovery, entry collection, and
15//!   configuration loading.
16//! - [`ops`] — High-level entry operations (list, create, update, delete)
17//!   shared across frontends.
18//! - [`parser`] — Markdown + YAML frontmatter parsing and serialization.
19//! - [`period`] — Time period types used to filter entries by timestamp ranges.
20
21pub mod entry;
22pub mod entry_ref;
23pub mod error;
24pub mod journal;
25pub mod ops;
26pub mod parser;
27pub mod period;