Skip to main content

Crate embassy_github

Crate embassy_github 

Source
Expand description

GitHub port — organisations, repositories, contributors (REST + GraphQL).

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 Organization carrier. The Provider trait + StubGithubProvider 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§

CallContext
Github
Canonical provenance marker for facts emitted by the GitHub port port.
GithubLookupSuggestor
GithubOrganizationPayload
Typed fact payload — one Organization 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>.
GithubResponse
Observation
OrgSlug
The canonical identifier for this port’s domain.
Organization
Placeholder typed entity. Replace with real per-service fields when an app needs them; the login + html_url pair is intentionally minimal so the surface compiles without committing to a fuller schema.
StubGithubProvider

Enums§

GithubError
GithubRequest

Constants§

GITHUB_PROVENANCE

Traits§

GithubProvider

Functions§

content_hash