From 724116691fb2aed3a3dfdf352a7d2d635d1c1a8b Mon Sep 17 00:00:00 2001
From: Russel Arbore <russel.jma@gmail.com>
Date: Wed, 19 Feb 2025 10:48:52 -0600
Subject: [PATCH] fix

---
 juno_samples/edge_detection/Cargo.toml | 1 -
 juno_samples/edge_detection/src/lib.rs | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/juno_samples/edge_detection/Cargo.toml b/juno_samples/edge_detection/Cargo.toml
index fc5fb451..483724d8 100644
--- a/juno_samples/edge_detection/Cargo.toml
+++ b/juno_samples/edge_detection/Cargo.toml
@@ -15,7 +15,6 @@ required-features = ["opencv"]
 
 [lib]
 path = "src/lib.rs"
-required-features = ["opencv"]
 
 [build-dependencies]
 juno_build = { path = "../../juno_build" }
diff --git a/juno_samples/edge_detection/src/lib.rs b/juno_samples/edge_detection/src/lib.rs
index 37268b56..6c2a15bd 100644
--- a/juno_samples/edge_detection/src/lib.rs
+++ b/juno_samples/edge_detection/src/lib.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "opencv")]
 #![feature(concat_idents)]
 
 mod edge_detection_rust;
-- 
GitLab