π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
upgrade frb and run frb gen command
laurenspriembfcfa691a2ad
diff --git a/mobile/apps/photos/lib/src/rust/api/simple.dart b/mobile/apps/photos/lib/src/rust/api/simple.dartindex 17c34a531c..a6a07cfa68 100644--- a/mobile/apps/photos/lib/src/rust/api/simple.dart+++ b/mobile/apps/photos/lib/src/rust/api/simple.dart@@ -1,5 +1,5 @@// This file is automatically generated, so please do not edit it.-// @generated by `flutter_rust_bridge`@ 2.9.0.+// @generated by `flutter_rust_bridge`@ 2.11.1.// ignore_for_file: require_trailing_commasdiff --git a/mobile/apps/photos/lib/src/rust/api/usearch_api.dart b/mobile/apps/photos/lib/src/rust/api/usearch_api.dartindex bfb75345ea..e24c3e1188 100644--- a/mobile/apps/photos/lib/src/rust/api/usearch_api.dart+++ b/mobile/apps/photos/lib/src/rust/api/usearch_api.dart@@ -1,5 +1,5 @@// This file is automatically generated, so please do not edit it.-// @generated by `flutter_rust_bridge`@ 2.9.0.+// @generated by `flutter_rust_bridge`@ 2.11.1.// ignore_for_file: require_trailing_commasdiff --git a/mobile/apps/photos/lib/src/rust/frb_generated.dart b/mobile/apps/photos/lib/src/rust/frb_generated.dartindex 599adba41d..69c4023808 100644--- a/mobile/apps/photos/lib/src/rust/frb_generated.dart+++ b/mobile/apps/photos/lib/src/rust/frb_generated.dart@@ -1,5 +1,5 @@// This file is automatically generated, so please do not edit it.-// @generated by `flutter_rust_bridge`@ 2.9.0.+// @generated by `flutter_rust_bridge`@ 2.11.1.// ignore_for_file: require_trailing_commas@@ -27,11 +27,13 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {RustLibApi? api,BaseHandler? handler,ExternalLibrary? externalLibrary,+ bool forceSameCodegenVersion = true,}) async {await instance.initImpl(api: api,handler: handler,externalLibrary: externalLibrary,+ forceSameCodegenVersion: forceSameCodegenVersion,);}@@ -69,7 +71,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {kDefaultExternalLibraryLoaderConfig;@override- String get codegenVersion => '2.9.0';+ String get codegenVersion => '2.11.1';@overrideint get rustContentHash => 1543559173;diff --git a/mobile/apps/photos/lib/src/rust/frb_generated.io.dart b/mobile/apps/photos/lib/src/rust/frb_generated.io.dartindex cd17c917bc..6ab196d6e2 100644--- a/mobile/apps/photos/lib/src/rust/frb_generated.io.dart+++ b/mobile/apps/photos/lib/src/rust/frb_generated.io.dart@@ -1,5 +1,5 @@// This file is automatically generated, so please do not edit it.-// @generated by `flutter_rust_bridge`@ 2.9.0.+// @generated by `flutter_rust_bridge`@ 2.11.1.// ignore_for_file: require_trailing_commasdiff --git a/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dart b/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dartindex d824d0788d..706994cf1c 100644--- a/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dart+++ b/mobile/apps/photos/lib/ui/settings/debug/ml_debug_section_widget.dart@@ -23,9 +23,9 @@ import "package:photos/services/machine_learning/ml_indexing_isolate.dart";import 'package:photos/services/machine_learning/ml_service.dart';import "package:photos/services/machine_learning/semantic_search/semantic_search_service.dart";import "package:photos/services/notification_service.dart";+import "package:photos/services/search_service.dart";import "package:photos/src/rust/api/simple.dart";import "package:photos/src/rust/api/usearch_api.dart";-import "package:photos/services/search_service.dart";import 'package:photos/theme/ente_theme.dart';import 'package:photos/ui/components/captioned_text_widget.dart';import 'package:photos/ui/components/expandable_menu_item_widget.dart';diff --git a/mobile/apps/photos/pubspec.lock b/mobile/apps/photos/pubspec.lockindex 69b979d425..6fcbe10e54 100644--- a/mobile/apps/photos/pubspec.lock+++ b/mobile/apps/photos/pubspec.lock@@ -1019,10 +1019,10 @@ packages:dependency: "direct main"description:name: flutter_rust_bridge- sha256: "5a5c7a5deeef2cc2ffe6076a33b0429f4a20ceac22a397297aed2b1eb067e611"+ sha256: "37ef40bc6f863652e865f0b2563ea07f0d3c58d8efad803cc01933a4b2ee067e"url: "https://pub.dev"source: hosted- version: "2.9.0"+ version: "2.11.1"flutter_secure_storage:dependency: "direct main"description:diff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yamlindex f9d417a978..3795aa0bb2 100644--- a/mobile/apps/photos/pubspec.yaml+++ b/mobile/apps/photos/pubspec.yaml@@ -95,7 +95,7 @@ dependencies:flutter_map: ^6.2.0flutter_map_marker_cluster: ^1.3.6flutter_password_strength: ^0.1.6- flutter_rust_bridge: 2.9.0+ flutter_rust_bridge: 2.11.1# Do not upgrade this package unless this issue is resolved:# https://github.com/juliansteenbakker/flutter_secure_storage/issues/870# On v9.2.4, keys related to lockscreen persist even after reintsall. For context see:diff --git a/mobile/apps/photos/rust/Cargo.lock b/mobile/apps/photos/rust/Cargo.lockindex 4bc9161bd8..ca61af7f02 100644--- a/mobile/apps/photos/rust/Cargo.lock+++ b/mobile/apps/photos/rust/Cargo.lock@@ -39,20 +39,19 @@ dependencies = [[[package]]name = "android_log-sys"-version = "0.3.1"+version = "0.3.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5ecc8056bf6ab9892dcd53216c83d1597487d7dacac16c8df6b877d127df9937"+checksum = "84521a3cf562bc62942e294181d9eef17eb38ceb8c68677bc49f144e4c3d4f8d"[[package]]name = "android_logger"-version = "0.13.3"+version = "0.15.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c494134f746c14dc653a35a4ea5aca24ac368529da5370ecf41fe0341c35772f"+checksum = "dbb4e440d04be07da1f1bf44fb4495ebd58669372fe0cffa6e48595ac5bd88a3"dependencies = ["android_log-sys",- "env_logger",+ "env_filter","log",- "once_cell",][[package]]@@ -88,6 +87,12 @@ dependencies = ["rustc-demangle",]+[[package]]+name = "bitflags"+version = "2.9.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"+[[package]]name = "block-buffer"version = "0.10.4"@@ -221,12 +226,15 @@ dependencies = [[[package]]name = "dashmap"-version = "4.0.2"+version = "5.5.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "e77a43b28d0668df09411cb0bc9a8c2adc40f9a048afe863e05fd43251e8e39c"+checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"dependencies = ["cfg-if",- "num_cpus",+ "hashbrown",+ "lock_api",+ "once_cell",+ "parking_lot_core",][[package]]@@ -251,10 +259,10 @@ dependencies = [][[package]]-name = "env_logger"-version = "0.10.1"+name = "env_filter"+version = "0.1.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece"+checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0"dependencies = ["log","regex",@@ -262,9 +270,9 @@ dependencies = [[[package]]name = "flutter_rust_bridge"-version = "2.9.0"+version = "2.11.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2f8c0dee6249225e815dcff3f3a39b98d9f66fdb3c392a432715b646bfa4da02"+checksum = "dde126295b2acc5f0a712e265e91b6fdc0ed38767496483e592ae7134db83725"dependencies = ["allo-isolate","android_logger",@@ -291,9 +299,9 @@ dependencies = [[[package]]name = "flutter_rust_bridge_macros"-version = "2.9.0"+version = "2.11.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8e88d604908d9eccb4ca9c26640ce41033165cbef041460e704ae28bd5208bce"+checksum = "d5f0420326b13675321b194928bb7830043b68cf8b810e1c651285c747abb080"dependencies = ["hex","md-5",@@ -407,6 +415,12 @@ version = "0.28.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253"+[[package]]+name = "hashbrown"+version = "0.14.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"+[[package]]name = "hermit-abi"version = "0.3.3"@@ -449,6 +463,16 @@ dependencies = ["cc",]+[[package]]+name = "lock_api"+version = "0.4.13"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765"+dependencies = [+ "autocfg",+ "scopeguard",+]+[[package]]name = "log"version = "0.4.20"@@ -507,15 +531,28 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"[[package]]name = "oslog"-version = "0.1.0"+version = "0.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8343ce955f18e7e68c0207dd0ea776ec453035685395ababd2ea651c569728b3"+checksum = "80d2043d1f61d77cb2f4b1f7b7b2295f40507f5f8e9d1c8bf10a1ca5f97a3969"dependencies = ["cc","dashmap","log",]+[[package]]+name = "parking_lot_core"+version = "0.9.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5"+dependencies = [+ "cfg-if",+ "libc",+ "redox_syscall",+ "smallvec",+ "windows-targets",+]+[[package]]name = "pin-project-lite"version = "0.2.13"@@ -552,6 +589,15 @@ dependencies = ["proc-macro2",]+[[package]]+name = "redox_syscall"+version = "0.5.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7e8af0dde094006011e6a740d4879319439489813bd0bcdc7d821beaeeff48ec"+dependencies = [+ "bitflags",+]+[[package]]name = "regex"version = "1.10.2"@@ -595,6 +641,12 @@ version = "0.1.23"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"+[[package]]+name = "scopeguard"+version = "1.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"+[[package]]name = "scratch"version = "1.0.8"@@ -610,6 +662,12 @@ dependencies = ["autocfg",]+[[package]]+name = "smallvec"+version = "1.15.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"+[[package]]name = "syn"version = "2.0.39"diff --git a/mobile/apps/photos/rust/Cargo.toml b/mobile/apps/photos/rust/Cargo.tomlindex e0e3a5c0c0..791462ba55 100644--- a/mobile/apps/photos/rust/Cargo.toml+++ b/mobile/apps/photos/rust/Cargo.toml@@ -7,7 +7,7 @@ edition = "2021"crate-type = ["cdylib", "staticlib"][dependencies]-flutter_rust_bridge = "=2.9.0"+flutter_rust_bridge = "=2.11.1"usearch = "2.17.11"[lints.rust]diff --git a/mobile/apps/photos/rust/src/frb_generated.rs b/mobile/apps/photos/rust/src/frb_generated.rsindex 860f6e4fd3..3fe26fe80f 100644--- a/mobile/apps/photos/rust/src/frb_generated.rs+++ b/mobile/apps/photos/rust/src/frb_generated.rs@@ -1,5 +1,5 @@// This file is automatically generated, so please do not edit it.-// @generated by `flutter_rust_bridge`@ 2.9.0.+// @generated by `flutter_rust_bridge`@ 2.11.1.#![allow(non_camel_case_types,@@ -37,7 +37,7 @@ flutter_rust_bridge::frb_generated_boilerplate!(default_rust_opaque = RustOpaqueMoi,default_rust_auto_opaque = RustAutoOpaqueMoi,);-pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.9.0";+pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.11.1";pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1543559173;// Section: executor@@ -1227,7 +1227,7 @@ impl SseEncode for i32 {#[cfg(not(target_family = "wasm"))]mod io {// This file is automatically generated, so please do not edit it.- // @generated by `flutter_rust_bridge`@ 2.9.0.+ // @generated by `flutter_rust_bridge`@ 2.11.1.// Section: imports