Skip to main content

Crate pcu_release_assets

Crate pcu_release_assets 

Source
Expand description

Headless clients for a GitHub release’s assets, with no git checkout required.

ReleaseAssetClient is read-only by design — extracted from pcu’s Client (see jerus-org/pcu#1051) so a consumer that only ever needs to download an asset — e.g. jci-audit verify --release-version fetching a signed audit record from a bare directory — does not have to depend on pcu’s git/CLI/changelog machinery to get it. ReleaseAssetWriter (jerus-org/pcu#1059) is its write-capable sibling, for a consumer that needs to upload an asset and/or publish the release, still headless.

Structs§

ReleaseAssetClient
A read-only client for fetching a named asset from an already-published GitHub release, with no git checkout required.
ReleaseAssetWriter
A headless, write-capable client for a GitHub release’s assets — upload and publish, with no git checkout required.
ReleaseRef
A release located for a tag, reduced to what callers act on.

Enums§

Error