π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
mob split
Manav Rathi6f4f086f4b86
diff --git a/mobile/apps/photos/flutter_rust_bridge.yaml b/mobile/apps/photos/flutter_rust_bridge.yamlindex fde31a2f2b..948e816559 100644--- a/mobile/apps/photos/flutter_rust_bridge.yaml+++ b/mobile/apps/photos/flutter_rust_bridge.yaml@@ -5,4 +5,4 @@ dart_output: lib/src/rustdart_preamble: |// ignore_for_file: require_trailing_commas-web: false\ No newline at end of file+web: falsediff --git a/mobile/apps/photos/pubspec.yaml b/mobile/apps/photos/pubspec.yamlindex be260fe01a..581874850e 100644--- a/mobile/apps/photos/pubspec.yaml+++ b/mobile/apps/photos/pubspec.yaml@@ -60,6 +60,8 @@ dependencies:path: plugins/ente_feature_flagente_qr_ui:path: ../../packages/qr+ ente_rust:+ path: ../../packages/rustequatable: ^2.0.5event_bus: ^2.0.0exif_reader:diff --git a/mobile/apps/photos/rust/Cargo.toml b/mobile/apps/photos/rust/Cargo.tomlindex 87abbb5c51..b37d6f7f10 100644--- a/mobile/apps/photos/rust/Cargo.toml+++ b/mobile/apps/photos/rust/Cargo.toml@@ -1,7 +1,7 @@[package]name = "rust_lib_photos"-version = "0.1.0"-edition = "2021"+version = "0.0.1"+edition = "2024"[lib]crate-type = ["cdylib", "staticlib"]@@ -9,7 +9,6 @@ crate-type = ["cdylib", "staticlib"][dependencies]flutter_rust_bridge = "=2.11.1"usearch = "2.21.3"-ente-core = { path = "../../../../rust/core" }[lints.rust]unexpected_cfgs = { level = "warn", check-cfg = ['cfg(frb_expand)'] }diff --git a/mobile/apps/photos/rust/src/api/mod.rs b/mobile/apps/photos/rust/src/api/mod.rsindex 8d2e90eb29..48c07eb9a0 100644--- a/mobile/apps/photos/rust/src/api/mod.rs+++ b/mobile/apps/photos/rust/src/api/mod.rs@@ -1,3 +1,2 @@pub mod simple;-pub mod urls;pub mod usearch_api;diff --git a/mobile/apps/photos/rust/src/api/urls.rs b/mobile/apps/photos/rust/src/api/urls.rsdeleted file mode 100644index 00e4acd55f..0000000000--- a/mobile/apps/photos/rust/src/api/urls.rs+++ /dev/null@@ -1,6 +0,0 @@-use flutter_rust_bridge::frb;--#[frb(sync)]-pub fn file_download_url(api_base_url: String, file_id: i64) -> String {- ente_core::urls::file_download_url(&api_base_url, file_id)-}