oras-project / rust-oci-client

A Rust crate to interact with OCI registries
Apache License 2.0
90 stars 47 forks source link

Allow Conversion between a Config and a ConfigFile #75

Closed lswith closed 1 year ago

lswith commented 1 year ago

This PR implements the TryFrom for a client::Config so that it can be parsed back into a ConfigFile.

This feature is useful when pulling images from a registry, so that the metadata recieved can be viewed.