bump bridge to 1.80.1

This commit is contained in:
rustdesk 2023-11-01 17:04:32 +08:00
parent c2287033e3
commit eaa64d7b70
8 changed files with 15 additions and 15 deletions

View File

@ -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:

View File

@ -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"

View File

@ -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"

4
Cargo.lock generated
View File

@ -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",

View File

@ -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"] }

View File

@ -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:

View File

@ -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:

View File

@ -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