diff --git a/.github/workflows/bridge.yml b/.github/workflows/bridge.yml index b691588df..c94322102 100644 --- a/.github/workflows/bridge.yml +++ b/.github/workflows/bridge.yml @@ -7,7 +7,7 @@ on: env: FLUTTER_VERSION: "3.13.9" - FLUTTER_RUST_BRIDGE_VERSION: "1.79.0" + FLUTTER_RUST_BRIDGE_VERSION: "1.80.1" jobs: generate_bridge: diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml index ba5e5ffa7..94a08fc37 100644 --- a/.github/workflows/flutter-build.yml +++ b/.github/workflows/flutter-build.yml @@ -14,7 +14,7 @@ env: CARGO_NDK_VERSION: "3.1.2" LLVM_VERSION: "15.0.6" FLUTTER_VERSION: "3.13.9" - FLUTTER_RUST_BRIDGE_VERSION: "1.79.0" + FLUTTER_RUST_BRIDGE_VERSION: "1.80.1" # for arm64 linux FLUTTER_ELINUX_VERSION: "3.10.6" FLUTTER_ELINUX_COMMIT_ID: "410b3ca42f2cd0c485edf517a1666652bab442d4" diff --git a/.github/workflows/history.yml b/.github/workflows/history.yml index 0bb61aa58..c40641fcd 100644 --- a/.github/workflows/history.yml +++ b/.github/workflows/history.yml @@ -6,7 +6,7 @@ env: LLVM_VERSION: "10.0" FLUTTER_VERSION: "3.13.9" TAG_NAME: "tmp" - FLUTTER_RUST_BRIDGE_VERSION: "1.79.0" + FLUTTER_RUST_BRIDGE_VERSION: "1.80.1" # vcpkg version: 2022.05.10 # for multiarch gcc compatibility VCPKG_COMMIT_ID: "501db0f17ef6df184fcdbfbe0f87cde2313b6ab1" diff --git a/Cargo.lock b/Cargo.lock index e03150c06..4006a0a46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2044,9 +2044,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge" -version = "1.79.0" +version = "1.80.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c8be4e3bf1221c2ce3e8006d548f4d3618deda475f192a65e0d55b33796cacc" +checksum = "fd0305ebc9f097d9826530a55fc2acd63222e912c663f7adce3ab641ecc0f346" dependencies = [ "allo-isolate", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index cea167728..706d248b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ num_cpus = "1.15" bytes = { version = "1.4", features = ["serde"] } default-net = "0.14" wol-rs = "1.0" -flutter_rust_bridge = { version = "=1.79", features = ["uuid"], optional = true} +flutter_rust_bridge = { version = "=1.80", features = ["uuid"], optional = true} errno = "0.3" rdev = { git = "https://github.com/fufesou/rdev" } url = { version = "2.3", features = ["serde"] } diff --git a/flutter/pubspec.lock b/flutter/pubspec.lock index ad3aba6ac..5e6a500bd 100644 --- a/flutter/pubspec.lock +++ b/flutter/pubspec.lock @@ -400,18 +400,18 @@ packages: dependency: "direct dev" description: name: ffigen - sha256: d3e76c2ad48a4e7f93a29a162006f00eba46ce7c08194a77bb5c5e97d1b5ff0a + sha256: "3a80687577e7e51ba915114742f389a128e8aa241c52ce69a0f70aecb8e14365" url: "https://pub.dev" source: hosted - version: "8.0.2" + version: "9.0.1" file: dependency: transitive description: name: file - sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted - version: "6.1.4" + version: "7.0.0" file_picker: dependency: "direct main" description: @@ -603,10 +603,10 @@ packages: dependency: "direct main" description: name: flutter_rust_bridge - sha256: dcb436ba4b466e19da1656ef14622b5ac2ed90efc8fcb0946942c6cd185578d1 + sha256: ff90d5ddd0cda6d94ed048cc9c4a4d993d1a4bb11605d60a1282fc1bbf173c77 url: "https://pub.dev" source: hosted - version: "1.79.0" + version: "1.80.1" flutter_svg: dependency: "direct main" description: diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 1f4dc9453..3464f51f4 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -49,7 +49,7 @@ dependencies: image_picker: ^0.8.5 image: ^4.0.17 back_button_interceptor: ^6.0.1 - flutter_rust_bridge: "1.79.0" + flutter_rust_bridge: "1.80.1" window_manager: git: url: https://github.com/rustdesk-org/window_manager @@ -109,7 +109,7 @@ dev_dependencies: build_runner: ^2.4.6 freezed: ^2.4.2 flutter_lints: ^2.0.2 - ffigen: ^8.0.2 + ffigen: ^9.0.1 # rerun: flutter pub run flutter_launcher_icons flutter_icons: diff --git a/flutter/run.sh b/flutter/run.sh index 2196c17c6..cc6436b38 100755 --- a/flutter/run.sh +++ b/flutter/run.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -cargo install flutter_rust_bridge_codegen --version 1.79.0 --features uuid +cargo install flutter_rust_bridge_codegen --version 1.80.1 --features uuid flutter pub get ~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ../src/flutter_ffi.rs --dart-output ./lib/generated_bridge.dart --c-output ./macos/Runner/bridge_generated.h # call `flutter clean` if cargo build fails