oras-project / rust-oci-client

A Rust crate to interact with OCI registries
Apache License 2.0
86 stars 45 forks source link

feat(client/token_cache): allow configuration of default token expiration #122

Closed vdice closed 3 months ago

vdice commented 3 months ago

Open to suggestions on how best to pipe this through where it needs to be. I noticed TokenCache no longer has a new() function, hence the creation of TokenCache::default() and then amending the attribute.