//! Thin shims over `relicario-core`'s migrated parsers, kept here so existing //! CLI callsites need no import churn. Plan B Phase 7 moved the bodies into //! `relicario_core::{time::MonthYear::parse, base32::decode_rfc4648_lenient, //! mime::guess_for_extension}`. use anyhow::Result; use relicario_core::MonthYear; pub(crate) fn parse_month_year(s: &str) -> Result { Ok(MonthYear::parse(s)?) } pub(crate) fn guess_mime(filename: &str) -> String { relicario_core::mime::guess_for_extension(filename).to_string() } pub(crate) fn base32_decode_lenient(s: &str) -> Result> { Ok(relicario_core::base32::decode_rfc4648_lenient(s)?) }