oci_image_spec/specs/v1/
layout.rs

1/// IMAGE_LAYOUT_FILE is the file name of oci image layout file
2pub const IMAGE_LAYOUT_FILE: &str = "oci-layout";
3
4// IMAGE_LAYOUT_VERSION is the version of ImageLayout
5pub const IMAGE_LAYOUT_VERSION: &str = "1.0.0";
6
7/// ImageLayout is the structure in the "oci-layout" file, found in the root
8/// of an OCI Image-layout directory.
9#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
10pub struct ImageLayout {
11    #[serde(rename = "imageLayoutVersion")]
12    pub version: String,
13}