Expand description
§use-oci-media-type
use-oci-media-type provides OCI media type primitives for image, index, config, layer, and artifact media types.
It is part of the use-oci RustUse workspace for small, focused OCI primitive crates. It does not perform network calls, shell out to runtimes, implement a registry client, or build container images.
§License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license
Enums§
- Known
Media Type - Known OCI media type labels.
- Media
Type Error - Errors returned when media type text is invalid.
- OciMedia
Type - A known or custom OCI media type.
Constants§
- ARTIFACT_
MANIFEST - OCI artifact manifest media type.
- IMAGE_
CONFIG - OCI image config media type.
- IMAGE_
INDEX - OCI image index media type.
- IMAGE_
MANIFEST - OCI image manifest media type.
- LAYER_
TAR - OCI uncompressed tar layer media type.
- LAYER_
TAR_ GZIP - OCI gzip-compressed tar layer media type.
- LAYER_
TAR_ ZSTD - OCI zstd-compressed tar layer media type.