From aeabe8e2bef0638b2d9b83375843161cc8e1cd29 Mon Sep 17 00:00:00 2001 From: aiongg Date: Thu, 19 Nov 2026 15:28:20 +0000 Subject: [PATCH] engine: drop an unused re-export --- crates/engine/src/cmd/retouch_cmds.rs | 4 +--- crates/engine/src/cmd/retouch_cmds/content_aware_move.rs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/engine/src/cmd/retouch_cmds.rs b/crates/engine/src/cmd/retouch_cmds.rs index 4bb8496fa5..868a5428ba 100644 --- a/crates/engine/src/cmd/retouch_cmds.rs +++ b/crates/engine/src/cmd/retouch_cmds.rs @@ -35,9 +35,7 @@ pub use pattern_stamp::{ }; mod periodic; mod remove; -pub use content_aware_move::{ - ContentAwarePreview, preview as content_aware_move_preview, preview_with_pixel_budget as content_aware_move_preview_with_pixel_budget, -}; +pub use content_aware_move::{ContentAwarePreview, preview as content_aware_move_preview}; pub use patch::preview as patch_preview; fn bad(cmd: &str, msg: impl Into) -> EngineError { diff --git a/crates/engine/src/cmd/retouch_cmds/content_aware_move.rs b/crates/engine/src/cmd/retouch_cmds/content_aware_move.rs index 89eca9973a..fa7b82ad72 100644 --- a/crates/engine/src/cmd/retouch_cmds/content_aware_move.rs +++ b/crates/engine/src/cmd/retouch_cmds/content_aware_move.rs @@ -700,7 +700,7 @@ pub fn preview(s: &Session, p: &Value) -> Result { } /// Prepare a preview with a bound on the number of pixels solved at full resolution. -pub fn preview_with_pixel_budget(s: &Session, p: &Value, max_pixels: u64) -> Result { +pub(crate) fn preview_with_pixel_budget(s: &Session, p: &Value, max_pixels: u64) -> Result { let captured = crate::channel_cmds::inject_target(s, CMD, p.clone()); let p = &captured; let plan = plan(s, p, PREVIEW_MARGIN)?;