Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix build issue by updating libheic-rs

laurenspriem29e443d97a1f
diff --git a/mobile/apps/photos/rust/Cargo.toml b/mobile/apps/photos/rust/Cargo.toml
index ce69b7162a..127b7d0d91 100644
--- a/mobile/apps/photos/rust/Cargo.toml
+++ b/mobile/apps/photos/rust/Cargo.toml
@@ -14,17 +14,30 @@ fast_image_resize = { version = "5.5.0", features = ["image", "rayon"] }
image = { version = "0.25.5", default-features = true }
imageproc = "0.25.0"
kamadak-exif = "0.6.1"
-libheic-rs = { git = "https://github.com/laurens-pilot/libheic-rs.git", tag = "v0.1.3", features = ["image-integration"] }
+libheic-rs = { git = "https://github.com/laurens-pilot/libheic-rs.git", tag = "v0.1.5", features = [
+ "image-integration",
+] }
nalgebra = "0.33.2"
ndarray = "0.16.1"
once_cell = "1.20.2"
thiserror = "2.0.11"
[target.'cfg(target_os = "ios")'.dependencies]
-ort = { version = "=2.0.0-rc.4", default-features = false, features = ["ndarray", "coreml", "xnnpack"] }
+ort = { version = "=2.0.0-rc.4", default-features = false, features = [
+ "ndarray",
+ "coreml",
+ "xnnpack",
+] }
[target.'cfg(not(target_os = "ios"))'.dependencies]
-ort = { version = "=2.0.0-rc.4", default-features = false, features = ["ndarray", "load-dynamic", "copy-dylibs", "coreml", "nnapi", "xnnpack"] }
+ort = { version = "=2.0.0-rc.4", default-features = false, features = [
+ "ndarray",
+ "load-dynamic",
+ "copy-dylibs",
+ "coreml",
+ "nnapi",
+ "xnnpack",
+] }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(frb_expand)'] }