Skip to content

Commit

Permalink
chore(deps): update to FRB v2.7.0 (#371)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MimirActionsBot <mimiractionsbot@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent 9354354 commit 66686e0
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 71 deletions.
2 changes: 1 addition & 1 deletion packages/mimir/lib/src/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
8 changes: 2 additions & 6 deletions packages/mimir/lib/src/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 @@ -63,7 +63,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 => 1727542745;
Expand Down Expand Up @@ -1229,8 +1229,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
case Filter_IsEmpty(field: final field):
sse_encode_i_32(13, serializer);
sse_encode_String(field, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down Expand Up @@ -1376,8 +1374,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
case SortBy_Desc(field0: final field0):
sse_encode_i_32(1, serializer);
sse_encode_String(field0, serializer);
default:
throw UnimplementedError('');
}
}

Expand Down
98 changes: 49 additions & 49 deletions packages/mimir/lib/src/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 Expand Up @@ -1167,14 +1167,14 @@ class RustLibWire implements BaseWire {
_dummy_method_to_enforce_bundlingPtr.asFunction<int Function()>();
}

typedef DartPostCObjectFnType
= ffi.Pointer<ffi.NativeFunction<DartPostCObjectFnTypeFunction>>;
typedef DartPort = ffi.Int64;
typedef DartDartPort = int;
typedef DartPostCObjectFnTypeFunction = ffi.Bool Function(
DartPort port_id, ffi.Pointer<ffi.Void> message);
typedef DartDartPostCObjectFnTypeFunction = bool Function(
DartDartPort port_id, ffi.Pointer<ffi.Void> message);
typedef DartPort = ffi.Int64;
typedef DartDartPort = int;
typedef DartPostCObjectFnType
= ffi.Pointer<ffi.NativeFunction<DartPostCObjectFnTypeFunction>>;

final class wire_cst_list_prim_u_8_strict extends ffi.Struct {
external ffi.Pointer<ffi.Uint8> ptr;
Expand Down Expand Up @@ -1218,50 +1218,6 @@ final class wire_cst_list_sort_by extends ffi.Struct {
external int len;
}

final class wire_cst_list_filter extends ffi.Struct {
external ffi.Pointer<wire_cst_filter> ptr;

@ffi.Int32()
external int len;
}

final class wire_cst_filter extends ffi.Struct {
@ffi.Int32()
external int tag;

external FilterKind kind;
}

final class FilterKind extends ffi.Union {
external wire_cst_Filter_Or Or;

external wire_cst_Filter_And And;

external wire_cst_Filter_Not Not;

external wire_cst_Filter_Exists Exists;

external wire_cst_Filter_InValues InValues;

external wire_cst_Filter_GreaterThan GreaterThan;

external wire_cst_Filter_GreaterThanOrEqual GreaterThanOrEqual;

external wire_cst_Filter_Equal Equal;

external wire_cst_Filter_NotEqual NotEqual;

external wire_cst_Filter_LessThan LessThan;

external wire_cst_Filter_LessThanOrEqual LessThanOrEqual;

external wire_cst_Filter_Between Between;

external wire_cst_Filter_IsNull IsNull;

external wire_cst_Filter_IsEmpty IsEmpty;
}

final class wire_cst_Filter_Or extends ffi.Struct {
external ffi.Pointer<wire_cst_list_filter> field0;
}
Expand Down Expand Up @@ -1336,6 +1292,50 @@ final class wire_cst_Filter_IsEmpty extends ffi.Struct {
external ffi.Pointer<wire_cst_list_prim_u_8_strict> field;
}

final class FilterKind extends ffi.Union {
external wire_cst_Filter_Or Or;

external wire_cst_Filter_And And;

external wire_cst_Filter_Not Not;

external wire_cst_Filter_Exists Exists;

external wire_cst_Filter_InValues InValues;

external wire_cst_Filter_GreaterThan GreaterThan;

external wire_cst_Filter_GreaterThanOrEqual GreaterThanOrEqual;

external wire_cst_Filter_Equal Equal;

external wire_cst_Filter_NotEqual NotEqual;

external wire_cst_Filter_LessThan LessThan;

external wire_cst_Filter_LessThanOrEqual LessThanOrEqual;

external wire_cst_Filter_Between Between;

external wire_cst_Filter_IsNull IsNull;

external wire_cst_Filter_IsEmpty IsEmpty;
}

final class wire_cst_filter extends ffi.Struct {
@ffi.Int32()
external int tag;

external FilterKind kind;
}

final class wire_cst_list_filter extends ffi.Struct {
external ffi.Pointer<wire_cst_filter> ptr;

@ffi.Int32()
external int len;
}

final class wire_cst_synonyms extends ffi.Struct {
external ffi.Pointer<wire_cst_list_prim_u_8_strict> word;

Expand Down
2 changes: 1 addition & 1 deletion packages/mimir/lib/src/frb_generated.web.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 packages/mimir/native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
crate-type = ["staticlib", "cdylib"]

[dependencies]
flutter_rust_bridge = "=2.6.0"
flutter_rust_bridge = "=2.7.0"
anyhow = "1.0.*"
serde = "1.0.*"
serde_json = "1.0.*"
Expand Down
8 changes: 4 additions & 4 deletions packages/mimir/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 @@ -36,7 +36,7 @@ flutter_rust_bridge::frb_generated_boilerplate!(
default_rust_opaque = RustOpaqueNom,
default_rust_auto_opaque = RustAutoOpaqueNom,
);
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 = 1727542745;

// Section: executor
Expand Down Expand Up @@ -1327,7 +1327,7 @@ impl SseEncode for () {
#[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 Expand Up @@ -2049,7 +2049,7 @@ pub use io::*;
#[cfg(target_family = "wasm")]
mod web {
// 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
2 changes: 1 addition & 1 deletion packages/mimir/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ environment:

dependencies:
ffi: ^2.1.2
flutter_rust_bridge: 2.6.0
flutter_rust_bridge: 2.7.0
freezed_annotation: ^2.4.4
meta: ^1.12.0

Expand Down
16 changes: 8 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "45cfa8471b89fb6643fe9bf51bd7931a76b8f5ec2d65de4fb176dba8d4f22c77"
sha256: "16e298750b6d0af7ce8a3ba7c18c69c3785d11b15ec83f6dcd0ad2a0009b3cab"
url: "https://pub.dev"
source: hosted
version: "73.0.0"
version: "76.0.0"
_macros:
dependency: transitive
description: dart
source: sdk
version: "0.3.2"
version: "0.3.3"
analyzer:
dependency: "direct dev"
description:
name: analyzer
sha256: "4959fec185fe70cce007c57e9ab6983101dbe593d2bf8bbfb4453aaec0cf470a"
sha256: "1f14db053a8c23e260789e9b0980fa27f2680dd640932cae5e1137cce0e46e1e"
url: "https://pub.dev"
source: hosted
version: "6.8.0"
version: "6.11.0"
ansi_styles:
dependency: transitive
description:
Expand Down Expand Up @@ -186,10 +186,10 @@ packages:
dependency: transitive
description:
name: macros
sha256: "0acaed5d6b7eab89f63350bccd82119e6c602df0f391260d0e32b5e23db79536"
sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656"
url: "https://pub.dev"
source: hosted
version: "0.1.2-main.4"
version: "0.1.3-main.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -399,4 +399,4 @@ packages:
source: hosted
version: "2.1.1"
sdks:
dart: ">=3.2.0 <4.0.0"
dart: ">=3.4.0 <4.0.0"

0 comments on commit 66686e0

Please sign in to comment.