Skip to main content

Crate use_oci_media_type

Crate use_oci_media_type 

Source
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§

KnownMediaType
Known OCI media type labels.
MediaTypeError
Errors returned when media type text is invalid.
OciMediaType
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.