Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update rust heic decoder to support .hif file

laurenspriemaac38dda40e3
diff --git a/mobile/apps/photos/rust/Cargo.lock b/mobile/apps/photos/rust/Cargo.lock
index 3bf0d4cbf7..4261725f74 100644
--- a/mobile/apps/photos/rust/Cargo.lock
+++ b/mobile/apps/photos/rust/Cargo.lock
@@ -1157,7 +1157,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli",
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 548b4d3625..3d3c1c7654 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -667,7 +667,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli",
diff --git a/rust/apps/ensu/src-tauri/Cargo.lock b/rust/apps/ensu/src-tauri/Cargo.lock
index 59ee3fac8b..ee5b3da7c3 100644
--- a/rust/apps/ensu/src-tauri/Cargo.lock
+++ b/rust/apps/ensu/src-tauri/Cargo.lock
@@ -2241,7 +2241,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli 8.0.2",
diff --git a/rust/crates/image/Cargo.toml b/rust/crates/image/Cargo.toml
index 966fca8088..5062238bf3 100644
--- a/rust/crates/image/Cargo.toml
+++ b/rust/crates/image/Cargo.toml
@@ -7,7 +7,7 @@ edition = "2024"
fast_image_resize = { version = "5.5.0", features = ["image"] }
image = { version = "0.25.5", default-features = true }
kamadak-exif = "0.6.1"
-ente_heic = { package = "heic_decoder", git = "https://github.com/ente-io/heic-decoder.git", rev = "d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7", features = [
+ente_heic = { package = "heic_decoder", git = "https://github.com/ente-io/heic-decoder.git", rev = "34f09f38ff25cb84d5fff14c8b9d3ff908b4c679", features = [
"image-integration",
] }
thiserror = "2.0.11"
diff --git a/rust/ensu/db/Cargo.lock b/rust/ensu/db/Cargo.lock
index 04ac9733f6..8ad0701580 100644
--- a/rust/ensu/db/Cargo.lock
+++ b/rust/ensu/db/Cargo.lock
@@ -986,7 +986,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli",
diff --git a/rust/ensu/sync/Cargo.lock b/rust/ensu/sync/Cargo.lock
index 0643808cfb..82388d8966 100644
--- a/rust/ensu/sync/Cargo.lock
+++ b/rust/ensu/sync/Cargo.lock
@@ -1401,7 +1401,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli",
diff --git a/rust/photos/Cargo.lock b/rust/photos/Cargo.lock
index 91673f0786..fea7967e72 100644
--- a/rust/photos/Cargo.lock
+++ b/rust/photos/Cargo.lock
@@ -630,6 +630,7 @@ dependencies = [
name = "ente_image"
version = "0.1.0"
dependencies = [
+ "fast_image_resize",
"heic_decoder",
"image",
"kamadak-exif",
@@ -893,7 +894,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli",
diff --git a/rust/uniffi/ensu/db/Cargo.lock b/rust/uniffi/ensu/db/Cargo.lock
index 3390da00e5..477f33e72e 100644
--- a/rust/uniffi/ensu/db/Cargo.lock
+++ b/rust/uniffi/ensu/db/Cargo.lock
@@ -1138,7 +1138,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli",
diff --git a/rust/uniffi/ensu/sync/Cargo.lock b/rust/uniffi/ensu/sync/Cargo.lock
index 2b6ffc0e25..64404bfa8f 100644
--- a/rust/uniffi/ensu/sync/Cargo.lock
+++ b/rust/uniffi/ensu/sync/Cargo.lock
@@ -1178,7 +1178,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "heic_decoder"
version = "0.1.0"
-source = "git+https://github.com/ente-io/heic-decoder.git?rev=d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7#d47a0f9c9e8c4c9e166c5a4b5734f8ad1f88f7a7"
+source = "git+https://github.com/ente-io/heic-decoder.git?rev=34f09f38ff25cb84d5fff14c8b9d3ff908b4c679#34f09f38ff25cb84d5fff14c8b9d3ff908b4c679"
dependencies = [
"archmage",
"brotli",