{"id":16897627,"url":"https://github.com/flouthoc/oci_lib","last_synced_at":"2025-10-08T14:12:30.589Z","repository":{"id":53002353,"uuid":"347649034","full_name":"flouthoc/oci_lib","owner":"flouthoc","description":"oci-image and oci-runtime spec in rust. Un-official mirror of libocispec.","archived":false,"fork":false,"pushed_at":"2021-09-15T12:12:28.000Z","size":23,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T14:13:34.626Z","etag":null,"topics":["container","docker","kubernetes","oci-image","oci-runtime","open-containers","opencontainers"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flouthoc.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-14T13:47:54.000Z","updated_at":"2024-12-31T20:38:33.000Z","dependencies_parsed_at":"2022-08-23T23:10:55.182Z","dependency_job_id":null,"html_url":"https://github.com/flouthoc/oci_lib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flouthoc/oci_lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flouthoc%2Foci_lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flouthoc%2Foci_lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flouthoc%2Foci_lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flouthoc%2Foci_lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flouthoc","download_url":"https://codeload.github.com/flouthoc/oci_lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flouthoc%2Foci_lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278956366,"owners_count":26075227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","docker","kubernetes","oci-image","oci-runtime","open-containers","opencontainers"],"created_at":"2024-10-13T17:38:50.284Z","updated_at":"2025-10-08T14:12:30.560Z","avatar_url":"https://github.com/flouthoc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oci_lib\nOci-Spec for your container runtime or container registry.\n- - -\nMost of the code is mirrored from upstream [libocispec](https://github.com/containers/libocispec)\n\nOci-lib is a rust port for original oci spec written in go. Following crate contains rust equivalent spec for OCI Image Format Specification ( https://github.com/opencontainers/image-spec ) and OCI Runtime format specification (https://github.com/opencontainers/runtime-spec).\n\n## Motivation\nInitially written as a dependency for vas-quod ( https://github.com/flouthoc/vas-quod ). \n\n## Usage\n```rust\nextern crate oci_lib;\nuse oci_lib::runtime;\nuse oci_lib::image;\n\nfn main() {\n    let runtime_spec = match runtime::Spec::load(\"path\") {\n        Ok(spec) =\u003e spec,\n        Err(e) =\u003e panic!(\"{}\", e),\n    }\n    let image_spec = match image::ImageConfig::load(\"path\") {\n        Ok(spec) =\u003e spec,\n        Err(e) =\u003e panic!(\"{}\", e),\n    }\n}\n```\n### References\n* https://opencontainers.org/\n* https://github.com/opencontainers/image-spec/blob/master/specs-go/v1/config.go\n* https://github.com/opencontainers/runtime-spec/blob/master/specs-go/config.go\n* https://github.com/oracle/railcar/tree/master/oci\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflouthoc%2Foci_lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflouthoc%2Foci_lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflouthoc%2Foci_lib/lists"}