pubmed_parser/common/
mod.rs

1//! Common data structures and utilities shared between PubMed and PMC modules
2
3pub mod ids;
4pub mod models;
5
6// Crate-internal: these helpers only ever serve the PubMed and PMC parsers in
7// this crate, and are not part of the published surface.
8pub(crate) mod xml_utils;
9
10// Re-export common types
11pub use ids::{PmcId, PubMedId};
12pub use models::{Affiliation, Author, HistoryDate, PublicationDate, format_author_name};