Skip to main content

Crate embassy_arxiv

Crate embassy_arxiv 

Source
Expand description

arXiv port — preprint metadata via the OAI-PMH and Atom APIs.

Sovereign integration in the embassy sense: this port’s identity and contract (auth, ToS, rate-limit) are part of the API surface and cannot be abstracted behind a generic transport.

§Status

Skeleton only. The typed domain has a minimal placeholder shape — newtype identifier + a bare Paper carrier. The Provider trait + StubArxivProvider are defined so callers can depend on the surface, but the live HTTP/API implementation is deferred until an app pulls hard enough to justify the work.

Grow the domain types at that time, not before.

Structs§

Arxiv
Canonical provenance marker for facts emitted by the arXiv port port.
ArxivId
The canonical identifier for this port’s domain.
ArxivLookupSuggestor
ArxivPaperPayload
Typed fact payload — one Paper per fact. Flattens the provider-side Observation into kernel-relevant fields so the ProposedFact PartialEq requirement holds without committing embassy-pack to deriving PartialEq on every Observation<T>.
ArxivResponse
CallContext
Observation
Paper
Placeholder typed entity. Replace with real per-service fields when an app needs them; the arxiv_id + title pair is intentionally minimal so the surface compiles without committing to a fuller schema.
StubArxivProvider

Enums§

ArxivError
ArxivRequest

Constants§

ARXIV_PROVENANCE

Traits§

ArxivProvider

Functions§

content_hash