Skip to content

Commit

Permalink
Drop the proxy_0_2_4 feature
Browse files Browse the repository at this point in the history
We can safely assume everyone has a new enough skopeo now.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Jun 3, 2024
1 parent eaf0415 commit 4b4354d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,3 @@ clap = { version = "4.4", features = ["derive"] }

[lib]
path = "src/imageproxy.rs"

[features]
# See https://github.com/containers/skopeo/blob/03da797e42374892bca8759668adb0b06d087876/cmd/skopeo/proxy.go#L95
proxy_v0_2_4 = []
1 change: 0 additions & 1 deletion src/imageproxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@ impl ImageProxy {
}

#[instrument]
#[cfg(feature = "proxy_v0_2_4")]
pub async fn open_image_optional(&self, imgref: &str) -> Result<Option<OpenedImage>> {
tracing::debug!("opening image");
let (imgid, _) = self
Expand Down

0 comments on commit 4b4354d

Please sign in to comment.