π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Use cargo install for flutter_rust_bridge_codegen
Prateek Sunal72512d2b4045
diff --git a/mobile/melos.yaml b/mobile/melos.yamlindex 0e27a5cebd..f3dc3bf8b9 100644--- a/mobile/melos.yaml+++ b/mobile/melos.yaml@@ -13,8 +13,8 @@ command:bootstrap:hooks:post: |- # Activate flutter_rust_bridge if not already activated- dart pub global activate flutter_rust_bridge 2>/dev/null || true+ # Install flutter_rust_bridge_codegen if not already installed+ cargo install flutter_rust_bridge_codegen 2>/dev/null || true# Generate Rust bindings for packages/rustecho "Generating flutter_rust_bridge bindings for packages/rust..."@@ -37,8 +37,8 @@ scripts:codegen:rust:run: |- # Activate flutter_rust_bridge if not already activated- dart pub global activate flutter_rust_bridge 2>/dev/null || true+ # Install flutter_rust_bridge_codegen if not already installed+ cargo install flutter_rust_bridge_codegen 2>/dev/null || true# Generate Rust bindings for packages/rustecho "Generating flutter_rust_bridge bindings for packages/rust..."@@ -51,14 +51,14 @@ scripts:codegen:rust:packages:run: |- dart pub global activate flutter_rust_bridge 2>/dev/null || true+ cargo install flutter_rust_bridge_codegen 2>/dev/null || trueecho "Generating flutter_rust_bridge bindings for packages/rust..."(cd packages/rust && flutter_rust_bridge_codegen generate)description: Generate Rust bindings for packages/rust only.codegen:rust:photos:run: |- dart pub global activate flutter_rust_bridge 2>/dev/null || true+ cargo install flutter_rust_bridge_codegen 2>/dev/null || trueecho "Generating flutter_rust_bridge bindings for apps/photos..."(cd apps/photos && flutter_rust_bridge_codegen generate)description: Generate Rust bindings for apps/photos only.