doiget-core 0.2.0

Core library: Source/Store traits, CapabilityProfile, safekey, provenance log
Documentation
//! Source implementations.
//!
//! Each source is a concrete `Source` trait impl. Per `docs/SOURCES.md` §1:
//!
//! - Tier 1 (Open Access, always compiled in): Crossref / Unpaywall / arXiv.
//! - Tier 2 (metadata enrichment, Phase 4, behind the `metadata` Cargo
//!   feature): OpenAlex / Semantic Scholar / DOAJ.
//! - Tier 3 (TDM, Phase 5, behind per-publisher Cargo features):
//!   Springer Nature OA / APS Harvest / Elsevier ScienceDirect.

pub mod arxiv;
pub mod crossref;
pub mod unpaywall;

// ---------------------------------------------------------------------------
// Tier 2 (Phase 4) — compile-gated by the `metadata` Cargo feature.
// ---------------------------------------------------------------------------

#[cfg(feature = "metadata")]
pub mod openalex;

#[cfg(feature = "metadata")]
pub mod s2;

#[cfg(feature = "metadata")]
pub mod doaj;

// ---------------------------------------------------------------------------
// Tier 3 (Phase 5) — compile-gated by per-publisher Cargo features.
// Default release binaries ship NONE of these; opt-in builds enable one
// or more via `--features tdm-<publisher>` (ADR-0002).
// ---------------------------------------------------------------------------

#[cfg(feature = "tdm-springer")]
pub mod tdm_springer;

#[cfg(feature = "tdm-aps")]
pub mod tdm_aps;

#[cfg(feature = "tdm-elsevier")]
pub mod tdm_elsevier;