Skip to content

Commit

Permalink
Upgrade flutter_rust_bridge crate to 2.7.0 version (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
evdokimovs authored Dec 12, 2024
1 parent d2afc24 commit 556111b
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 72 deletions.
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ All user visible changes to this project will be documented in this file. This p

- Upgraded [OpenAL] library to [1.24.1][openal-1.24.1] version. ([#182], [#181])
- Upgraded [libwebrtc] to [131.0.6778.85-r1] version. ([#180])
- Upgraded [`flutter_rust_bridge`] crate to [2.7.0][frb-2.7.0] version. ([#183])

[#180]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/180
[#181]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/181
[#182]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/182
[openal-1.24.1]: https://github.com/kcat/openal-soft/releases/tag/1.24.1
[#183]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/183
[131.0.6778.85-r1]: https://github.com/instrumentisto/libwebrtc-bin/releases/tag/131.0.6778.85-r1
[openal-1.24.1]: https://github.com/kcat/openal-soft/releases/tag/1.24.1
[frb-2.7.0]: https://github.com/fzyzcjy/flutter_rust_bridge/releases/tag/v2.7.0



Expand All @@ -36,7 +39,7 @@ All user visible changes to this project will be documented in this file. This p

### Changed

- Upgraded `flutter_rust_bridge` to 2.4.0 version. ([#172])
- Upgraded [`flutter_rust_bridge`] crate to [2.4.0][frb-2.4.0] version. ([#172])
- Upgraded [libwebrtc] to [130.0.6723.69] version. ([#176], [#177])

### Fixed
Expand All @@ -49,6 +52,7 @@ All user visible changes to this project will be documented in this file. This p
[#176]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/176
[#177]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/177
[130.0.6723.69]: https://github.com/instrumentisto/libwebrtc-bin/releases/tag/130.0.6723.69
[frb-2.4.0]: https://github.com/fzyzcjy/flutter_rust_bridge/releases/tag/v2.4.0



Expand All @@ -75,9 +79,10 @@ All user visible changes to this project will be documented in this file. This p

### Changed

- Upgraded `flutter_rust_bridge` to 2.2.0 version. ([#167])
- Upgraded [`flutter_rust_bridge`] crate to [2.2.0][frb-2.2.0] version. ([#167])

[#167]: https://github.com/instrumentisto/medea-flutter-webrtc/pull/167
[frb-2.2.0]: https://github.com/fzyzcjy/flutter_rust_bridge/releases/tag/v2.2.0



Expand Down Expand Up @@ -297,6 +302,7 @@ See [changelog in upstream repository](https://github.com/flutter-webrtc/flutter



[`flutter_rust_bridge`]: https://docs.rs/flutter_rust_bridge
[Android]: https://www.android.com
[Dart]: https://dart.dev
[Flutter]: https://www.flutter.dev
Expand Down
17 changes: 8 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions crates/native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ anyhow = "1.0"
cxx = "1.0"
dashmap = "6.0"
derive_more = { version = "1.0", features = ["as_ref", "display", "from", "into"] }
flutter_rust_bridge = { version = "=2.4.0", features = ["anyhow", "dart-opaque", "rust-async", "thread-pool"], default-features = false }
flutter_rust_bridge_macros = { version = "=2.4.0", default-features = false }
flutter_rust_bridge = { version = "=2.7.0", features = ["anyhow", "dart-opaque", "rust-async", "thread-pool"], default-features = false }
lazy_static = "1.5"
libwebrtc-sys = { path = "../libwebrtc-sys" }
log = "0.4"
Expand Down
6 changes: 3 additions & 3 deletions crates/native/src/frb_generated.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.4.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

#![allow(
non_camel_case_types,
Expand Down Expand Up @@ -37,7 +37,7 @@ flutter_rust_bridge::frb_generated_boilerplate!(
default_rust_opaque = RustOpaqueMoi,
default_rust_auto_opaque = RustAutoOpaqueMoi,
);
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.4.0";
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.7.0";
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -1353945569;

// Section: executor
Expand Down Expand Up @@ -6111,7 +6111,7 @@ impl SseEncode for crate::api::VideoConstraints {
#[cfg(not(target_family = "wasm"))]
mod io {
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.4.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// Section: imports

Expand Down
56 changes: 28 additions & 28 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ packages:
dependency: transitive
description:
name: args
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6
url: "https://pub.dev"
source: hosted
version: "2.5.0"
version: "2.6.0"
async:
dependency: transitive
description:
Expand Down Expand Up @@ -90,10 +90,10 @@ packages:
dependency: "direct dev"
description:
name: build_runner
sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04
sha256: "028819cfb90051c6b5440c7e574d1896f8037e3c96cf17aaeb054c9311cfbf4d"
url: "https://pub.dev"
source: hosted
version: "2.4.12"
version: "2.4.13"
build_runner_core:
dependency: transitive
description:
Expand Down Expand Up @@ -146,10 +146,10 @@ packages:
dependency: transitive
description:
name: code_builder
sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37
sha256: "0ec10bf4a89e4c613960bf1e8b42c64127021740fb21640c29c909826a5eea3e"
url: "https://pub.dev"
source: hosted
version: "4.10.0"
version: "4.10.1"
collection:
dependency: transitive
description:
Expand All @@ -162,18 +162,18 @@ packages:
dependency: transitive
description:
name: convert
sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68
url: "https://pub.dev"
source: hosted
version: "3.1.1"
version: "3.1.2"
crypto:
dependency: transitive
description:
name: crypto
sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27
sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
version: "3.0.6"
cupertino_icons:
dependency: "direct main"
description:
Expand Down Expand Up @@ -218,10 +218,10 @@ packages:
dependency: transitive
description:
name: fixnum
sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be
url: "https://pub.dev"
source: hosted
version: "1.1.0"
version: "1.1.1"
flutter:
dependency: "direct main"
description: flutter
Expand All @@ -244,10 +244,10 @@ packages:
dependency: transitive
description:
name: flutter_rust_bridge
sha256: a43a6649385b853bc836ef2bc1b056c264d476c35e131d2d69c38219b5e799f1
sha256: "35c257fc7f98e34c1314d6c145e5ed54e7c94e8a9f469947e31c9298177d546f"
url: "https://pub.dev"
source: hosted
version: "2.4.0"
version: "2.7.0"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down Expand Up @@ -315,10 +315,10 @@ packages:
dependency: transitive
description:
name: io
sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
sha256: dfd5a80599cf0165756e3181807ed3e77daf6dd4137caaad72d0b7931597650b
url: "https://pub.dev"
source: hosted
version: "1.0.4"
version: "1.0.5"
js:
dependency: transitive
description:
Expand Down Expand Up @@ -371,10 +371,10 @@ packages:
dependency: transitive
description:
name: logging
sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.3.0"
macros:
dependency: transitive
description:
Expand Down Expand Up @@ -418,10 +418,10 @@ packages:
dependency: transitive
description:
name: mime
sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a"
sha256: "41a20518f0cb1256669420fdba0cd90d21561e560ac240f26ef8322e45bb7ed6"
url: "https://pub.dev"
source: hosted
version: "1.0.6"
version: "2.0.0"
package_config:
dependency: transitive
description:
Expand Down Expand Up @@ -490,10 +490,10 @@ packages:
dependency: transitive
description:
name: shelf_web_socket
sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611"
sha256: cc36c297b52866d203dbf9332263c94becc2fe0ceaa9681d07b6ef9807023b67
url: "https://pub.dev"
source: hosted
version: "2.0.0"
version: "2.0.1"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -583,18 +583,18 @@ packages:
dependency: transitive
description:
name: typed_data
sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006
url: "https://pub.dev"
source: hosted
version: "1.3.2"
version: "1.4.0"
uuid:
dependency: transitive
description:
name: uuid
sha256: f33d6bb662f0e4f79dcd7ada2e6170f3b3a2530c28fc41f49a411ddedd576a77
sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff
url: "https://pub.dev"
source: hosted
version: "4.5.0"
version: "4.5.1"
vector_math:
dependency: transitive
description:
Expand Down Expand Up @@ -623,10 +623,10 @@ packages:
dependency: transitive
description:
name: web
sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062
sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
url: "https://pub.dev"
source: hosted
version: "1.0.0"
version: "1.1.0"
web_socket:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/api/bridge/api.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.4.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import

Expand Down
Loading

0 comments on commit 556111b

Please sign in to comment.