No description
- Rust 100%
Extracted from the installer monorepo at https://github.com/Toasterson/installer (under ociclient/). Hand-rolled Rust client for the OCI Distribution Spec — fetches manifests, blobs, and config documents from container registries. Used by machined to pull install images and by installadm for image inspection. |
||
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
oci-client
Crate name:
ociclient
A small Rust client for the OCI Distribution Spec — pulling manifests, blobs, and config documents from container registries (and registries that masquerade as such, like the Forgejo / Gitea container registries that store custom artifact types).
It was originally written for the illumos installer toolchain, where it fetches OS images from registries during install, but has no installer-specific code. It is consumed today by:
- machined — pulls the install image during install
- installadm — inspects images, downloads release artifacts
Status
v0.1 — minimal feature surface, hand-rolled. No async streaming yet (downloads buffer to memory). API may change as it picks up authentication adapters and chunked download support.
Add it
[dependencies]
ociclient = { git = "https://code.aopc.cloud/CloudNebulaProject/oci-client" }
License
MPL-2.0.