//! Utilities for handling Platforms for Images
use cratePlatform;
/// Function that returns OCI Image Spec v1 -> Platform structure.
///
/// Whenever we have a list of Manifests (docker) or a Manifest Index (OCI), to chose the right
/// manifest for the current platform, the current platform/Os needs to be determined. Plus there
/// are naming differences between docker image names and reported architecture names (eg. 'x86_64'
/// vs. 'amd64', 'arm64' vs 'aarch64' etc. All those differences are abstracted out and returns
/// names that the `platform` field in the image manifest will like.
pub