π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Tighten FRB bindings reorg
Manav Rathifec34bb78a4f
diff --git a/.github/workflows/mobile-packages-lint.yml b/.github/workflows/mobile-packages-lint.ymlindex 3e5931f5e3..ad32eafa03 100644--- a/.github/workflows/mobile-packages-lint.yml+++ b/.github/workflows/mobile-packages-lint.yml@@ -56,6 +56,7 @@ jobs:- 'rust/Cargo.toml'- 'rust/photos/**'- 'rust/crates/core/**/*.rs'+ - 'rust/crates/contacts/**/*.rs'workflow:- '.github/workflows/mobile-packages-lint.yml'analysis:diff --git a/mobile/apps/photos/rust_builder/windows/CMakeLists.txt b/mobile/apps/photos/rust_builder/windows/CMakeLists.txtindex 4df4ca0e81..75ad2d3417 100644--- a/mobile/apps/photos/rust_builder/windows/CMakeLists.txt+++ b/mobile/apps/photos/rust_builder/windows/CMakeLists.txt@@ -9,7 +9,7 @@ set(PROJECT_NAME "ente_photos_rust")project(${PROJECT_NAME} LANGUAGES CXX)include("../cargokit/cmake/cargokit.cmake")-apply_cargokit(${PROJECT_NAME} ../../../../../rust/bindings/frb/photos ente_photos_rust "")+apply_cargokit(${PROJECT_NAME} ../../../../../../../../../rust/bindings/frb/photos ente_photos_rust "")# List of absolute paths to libraries that should be bundled with the plugin.# This list could contain prebuilt libraries, or libraries created by andiff --git a/rust/apps/codegen/src/main.rs b/rust/apps/codegen/src/main.rsindex 702569fad0..72417a09f0 100644--- a/rust/apps/codegen/src/main.rs+++ b/rust/apps/codegen/src/main.rs@@ -161,21 +161,14 @@ fn generate_native_android() -> Result<(), DynError> {}fn generate_frb() -> Result<(), DynError> {- generate_frb_path("mobile/packages/rust")?;- generate_frb_path("mobile/apps/photos")?;- format_frb_bindings()-}--fn generate_frb_path(relative_package_dir: &str) -> Result<(), DynError> {let rust_root = rust_root()?;let repo_root = rust_root.parent().ok_or("failed to resolve repo root from rust/apps/codegen")?;- let package_dir = repo_root.join(relative_package_dir);- generate_frb_package(&package_dir)?;-- Ok(())+ generate_frb_package(&repo_root.join("mobile/packages/rust"))?;+ generate_frb_package(&repo_root.join("mobile/apps/photos"))?;+ format_frb_bindings()}fn generate_frb_package(package_dir: &Path) -> Result<(), DynError> {