Skip to main content

tier_3_allowlists

Function tier_3_allowlists 

Source
pub fn tier_3_allowlists() -> Vec<SourceAllowlist>
Expand description

Every Tier-3 TDM allowlist this build actually compiled in.

#454: the three per-publisher builders above had no caller. Both client builders — doiget_cli::commands::fetch::build_http_client and its MCP twin — assemble the client by naming a list of allowlist functions, and neither named these. So #444 taught the orchestrator to reach the sources and the transport then refused a source key it had never been told about: UnknownSource { source_key: "tdm-aps" }, which reads like an internal error rather than a missing registration.

One function rather than three #[cfg] blocks at each call site: a fourth publisher is then a single edit here, and the two client builders cannot drift apart — which is the drift that produced this bug.

Empty in a default build, where no Tier-3 feature is compiled in.