Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl Client {
///
/// This performs authorization and then stores the token internally to be used
/// on other requests.
async fn auth(
pub async fn auth(
&mut self,
image: &Reference,
authentication: &RegistryAuth,
Expand Down Expand Up @@ -726,7 +726,7 @@ impl Client {
/// repository and the registry, but it is not used to verify that
/// the digest is a layer inside of the image. (The manifest is
/// used for that.)
async fn pull_blob<T: AsyncWrite + Unpin>(
pub async fn pull_blob<T: AsyncWrite + Unpin>(
&self,
image: &Reference,
digest: &str,
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ mod token_cache;
pub use client::Client;
#[doc(inline)]
pub use reference::{ParseError, Reference};
#[doc(inline)]
pub use token_cache::RegistryOperation;

#[macro_use]
extern crate lazy_static;