From 4b4354d351eb9e2cbdd03341e07608de85ecea41 Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@verbum.org>
Date: Mon, 3 Jun 2024 15:00:58 -0400
Subject: [PATCH] Drop the proxy_0_2_4 feature

We can safely assume everyone has a new enough skopeo now.

Signed-off-by: Colin Walters <walters@verbum.org>
---
 Cargo.toml        | 4 ----
 src/imageproxy.rs | 1 -
 2 files changed, 5 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 75fcc43..50455fd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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 = []
diff --git a/src/imageproxy.rs b/src/imageproxy.rs
index 04f8775..55c08f1 100644
--- a/src/imageproxy.rs
+++ b/src/imageproxy.rs
@@ -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