Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow to create static instances of some objects #348

Commits on Apr 9, 2024

  1. feat: allow to create static instances of some objects

    Allow to create `static` instances of the `cosign::Client`,
    `sigstore::trust::ManualTrustRoot`.
    
    The ability to create `static` instances of these objects can simplify
    the downstream consumers of this library.
    
    The approach taken to create these `static` instance is the same used by
    [`rustls_pki_types::CertificateDer::into_owned`](https://docs.rs/rustls-pki-types/1.4.1/rustls_pki_types/struct.CertificateDer.html#method.into_owned)
    
    Signed-off-by: Flavio Castelli <fcastelli@suse.com>
    flavio committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    5b1bfb0 View commit details
    Browse the repository at this point in the history