engine: drop an unused re-export

This commit is contained in:
aiongg committed 2026-11-19 15:28:20 +00:00
1 parent 9d9b465e08
commit aeabe8e2be
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -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<String>) -> EngineError {
@@ -700,7 +700,7 @@ pub fn preview(s: &Session, p: &Value) -> Result<ContentAwarePreview> {
}
/// 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<ContentAwarePreview> {
pub(crate) fn preview_with_pixel_budget(s: &Session, p: &Value, max_pixels: u64) -> Result<ContentAwarePreview> {
let captured = crate::channel_cmds::inject_target(s, CMD, p.clone());
let p = &captured;
let plan = plan(s, p, PREVIEW_MARGIN)?;