From d37f4580a993134fdaee4ba6e497a2bed5c8b61a Mon Sep 17 00:00:00 2001 From: Dude so hot Date: Sat, 14 Sep 2024 19:47:52 +0800 Subject: [PATCH] Rename to avoid clash Signed-off-by: Dude so hot --- app/src/main/rust/src/{image.rs => img.rs} | 0 app/src/main/rust/src/{image => img}/qr_code.rs | 0 app/src/main/rust/src/lib.rs | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename app/src/main/rust/src/{image.rs => img.rs} (100%) rename app/src/main/rust/src/{image => img}/qr_code.rs (100%) diff --git a/app/src/main/rust/src/image.rs b/app/src/main/rust/src/img.rs similarity index 100% rename from app/src/main/rust/src/image.rs rename to app/src/main/rust/src/img.rs diff --git a/app/src/main/rust/src/image/qr_code.rs b/app/src/main/rust/src/img/qr_code.rs similarity index 100% rename from app/src/main/rust/src/image/qr_code.rs rename to app/src/main/rust/src/img/qr_code.rs diff --git a/app/src/main/rust/src/lib.rs b/app/src/main/rust/src/lib.rs index d6d062a7a..15e2bba11 100644 --- a/app/src/main/rust/src/lib.rs +++ b/app/src/main/rust/src/lib.rs @@ -1,9 +1,9 @@ -mod image; +mod img; mod parser; -use ::image::{ImageBuffer, Rgba}; use android_logger::Config; use anyhow::{anyhow, ensure, Result}; +use image::{ImageBuffer, Rgba}; use jni::objects::JByteBuffer; use jni::sys::{jboolean, jint, jobject, JavaVM, JNI_VERSION_1_6}; use jni::JNIEnv;