Skip to content

Commit

Permalink
chore: switch to 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evdokimovs committed Dec 10, 2024
1 parent bb22e69 commit 9300cee
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 46 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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] to [2.6.0][frb-2.6.0] version. ([#183])
- Upgraded [flutter-rust-bridge] 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
Expand All @@ -24,7 +24,7 @@ All user visible changes to this project will be documented in this file. This p
[openal-1.24.1]: https://github.com/kcat/openal-soft/releases/tag/1.24.1
[131.0.6778.85-r1]: https://github.com/instrumentisto/libwebrtc-bin/releases/tag/131.0.6778.85-r1
[flutter-rust-bridge]: https://github.com/fzyzcjy/flutter_rust_bridge
[frb-2.6.0]: https://github.com/fzyzcjy/flutter_rust_bridge/releases/tag/v2.6.0
[frb-2.7.0]: https://github.com/fzyzcjy/flutter_rust_bridge/releases/tag/v2.7.0



Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ 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.6.0", features = ["anyhow", "dart-opaque", "rust-async", "thread-pool"], default-features = false }
flutter_rust_bridge_macros = { version = "=2.6.0", default-features = false }
flutter_rust_bridge = { version = "=2.7.0", features = ["anyhow", "dart-opaque", "rust-async", "thread-pool"], default-features = false }
flutter_rust_bridge_macros = { version = "=2.7.0", 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.6.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.6.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.6.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// Section: imports

Expand Down
8 changes: 4 additions & 4 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ packages:
dependency: transitive
description:
name: flutter_rust_bridge
sha256: fb9d3c9395eae3c71d4fe3ec343b9f30636c9988150c8bb33b60047549b34e3d
sha256: "35c257fc7f98e34c1314d6c145e5ed54e7c94e8a9f469947e31c9298177d546f"
url: "https://pub.dev"
source: hosted
version: "2.6.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
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.6.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import

Expand Down
24 changes: 2 additions & 22 deletions lib/src/api/bridge/frb_generated.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.6.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field

Expand Down Expand Up @@ -68,7 +68,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
kDefaultExternalLibraryLoaderConfig;

@override
String get codegenVersion => '2.6.0';
String get codegenVersion => '2.7.0';

@override
int get rustContentHash => -1353945569;
Expand Down Expand Up @@ -4395,8 +4395,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
case GetMediaError_Video(field0: final field0):
sse_encode_i_32(1, serializer);
sse_encode_String(field0, serializer);
default:
throw UnimplementedError('');
}
}

Expand All @@ -4411,8 +4409,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
case GetMediaResult_Err(field0: final field0):
sse_encode_i_32(1, serializer);
sse_encode_box_autoadd_get_media_error(field0, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down Expand Up @@ -4852,8 +4848,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
case PeerConnectionEvent_Track(field0: final field0):
sse_encode_i_32(8, serializer);
sse_encode_box_autoadd_rtc_track_event(field0, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down Expand Up @@ -4908,8 +4902,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
case RtcIceCandidateStats_Remote(field0: final field0):
sse_encode_i_32(1, serializer);
sse_encode_box_autoadd_ice_candidate_stats(field0, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down Expand Up @@ -4968,8 +4960,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
sse_encode_opt_box_autoadd_u_32(sliCount, serializer);
sse_encode_opt_box_autoadd_u_64(concealmentEvents, serializer);
sse_encode_opt_box_autoadd_i_32(framesReceived, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down Expand Up @@ -5002,8 +4992,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
sse_encode_opt_box_autoadd_f_64(totalSamplesDuration, serializer);
sse_encode_opt_box_autoadd_f_64(echoReturnLoss, serializer);
sse_encode_opt_box_autoadd_f_64(echoReturnLossEnhancement, serializer);
default:
throw UnimplementedError('');
}
}

Expand All @@ -5028,8 +5016,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
sse_encode_opt_box_autoadd_u_32(frameWidth, serializer);
sse_encode_opt_box_autoadd_u_32(frameHeight, serializer);
sse_encode_opt_box_autoadd_f_64(framesPerSecond, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down Expand Up @@ -5192,8 +5178,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
sse_encode_opt_box_autoadd_u_64(reportsSent, serializer);
case RtcStatsType_Unimplemented():
sse_encode_i_32(8, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down Expand Up @@ -5314,8 +5298,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
case TextureEvent_OnFirstFrameRendered(textureId: final textureId):
sse_encode_i_32(1, serializer);
sse_encode_i_64(textureId, serializer);
default:
throw UnimplementedError('');
}
}

Expand All @@ -5330,8 +5312,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
sse_encode_u_32(field0, serializer);
case TrackEvent_TrackCreated():
sse_encode_i_32(2, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/api/bridge/frb_generated.io.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.6.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field

Expand Down
2 changes: 1 addition & 1 deletion lib/src/api/bridge/lib.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.6.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import

Expand Down
2 changes: 1 addition & 1 deletion lib/src/api/bridge/renderer.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.6.0.
// @generated by `flutter_rust_bridge`@ 2.7.0.

// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
ffi: ^2.0.2
flutter:
sdk: flutter
flutter_rust_bridge: 2.6.0 # should be the same as in `Cargo.lock`
flutter_rust_bridge: 2.7.0 # should be the same as in `Cargo.lock`
freezed_annotation: ^2.4.4
uuid: ^4.4.2
web: ">=0.5.1 <2.0.0"
Expand Down

0 comments on commit 9300cee

Please sign in to comment.