diff --git a/lib/bridge_definitions.dart b/lib/bridge_definitions.dart index bb4ce8d..9bc20bb 100644 --- a/lib/bridge_definitions.dart +++ b/lib/bridge_definitions.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.80.1. +// Generated by `flutter_rust_bridge`@ 1.82.1. // ignore_for_file: non_constant_identifier_names, unused_element, duplicate_ignore, directives_ordering, curly_braces_in_flow_control_structures, unnecessary_lambdas, slash_for_doc_comments, prefer_const_literals_to_create_immutables, implicit_dynamic_list_literal, duplicate_import, unused_import, unnecessary_import, prefer_single_quotes, prefer_const_constructors, use_super_parameters, always_use_package_imports, annotate_overrides, invalid_use_of_protected_member, constant_identifier_names, invalid_use_of_internal_member, prefer_is_empty, unnecessary_const import 'bridge_generated.io.dart' diff --git a/lib/bridge_generated.dart b/lib/bridge_generated.dart index 07fd631..78576e5 100644 --- a/lib/bridge_generated.dart +++ b/lib/bridge_generated.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.80.1. +// Generated by `flutter_rust_bridge`@ 1.82.1. // ignore_for_file: non_constant_identifier_names, unused_element, duplicate_ignore, directives_ordering, curly_braces_in_flow_control_structures, unnecessary_lambdas, slash_for_doc_comments, prefer_const_literals_to_create_immutables, implicit_dynamic_list_literal, duplicate_import, unused_import, unnecessary_import, prefer_single_quotes, prefer_const_constructors, use_super_parameters, always_use_package_imports, annotate_overrides, invalid_use_of_protected_member, constant_identifier_names, invalid_use_of_internal_member, prefer_is_empty, unnecessary_const import "bridge_definitions.dart"; @@ -24,6 +24,7 @@ class NativeImpl implements Native { return _platform.executeNormal(FlutterRustBridgeTask( callFfi: (port_) => _platform.inner.wire_platform(port_), parseSuccessData: _wire2api_platform, + parseErrorData: null, constMeta: kPlatformConstMeta, argValues: [], hint: hint, @@ -40,6 +41,7 @@ class NativeImpl implements Native { return _platform.executeNormal(FlutterRustBridgeTask( callFfi: (port_) => _platform.inner.wire_rust_release_mode(port_), parseSuccessData: _wire2api_bool, + parseErrorData: null, constMeta: kRustReleaseModeConstMeta, argValues: [], hint: hint, diff --git a/lib/bridge_generated.io.dart b/lib/bridge_generated.io.dart index 80ae4ec..62635e7 100644 --- a/lib/bridge_generated.io.dart +++ b/lib/bridge_generated.io.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.80.1. +// Generated by `flutter_rust_bridge`@ 1.82.1. // ignore_for_file: non_constant_identifier_names, unused_element, duplicate_ignore, directives_ordering, curly_braces_in_flow_control_structures, unnecessary_lambdas, slash_for_doc_comments, prefer_const_literals_to_create_immutables, implicit_dynamic_list_literal, duplicate_import, unused_import, unnecessary_import, prefer_single_quotes, prefer_const_constructors, use_super_parameters, always_use_package_imports, annotate_overrides, invalid_use_of_protected_member, constant_identifier_names, invalid_use_of_internal_member, prefer_is_empty, unnecessary_const import "bridge_definitions.dart"; diff --git a/lib/bridge_generated.web.dart b/lib/bridge_generated.web.dart index 4ceb678..610e52d 100644 --- a/lib/bridge_generated.web.dart +++ b/lib/bridge_generated.web.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.80.1. +// Generated by `flutter_rust_bridge`@ 1.82.1. // ignore_for_file: non_constant_identifier_names, unused_element, duplicate_ignore, directives_ordering, curly_braces_in_flow_control_structures, unnecessary_lambdas, slash_for_doc_comments, prefer_const_literals_to_create_immutables, implicit_dynamic_list_literal, duplicate_import, unused_import, unnecessary_import, prefer_single_quotes, prefer_const_constructors, use_super_parameters, always_use_package_imports, annotate_overrides, invalid_use_of_protected_member, constant_identifier_names, invalid_use_of_internal_member, prefer_is_empty, unnecessary_const import "bridge_definitions.dart"; diff --git a/native/src/bridge_generated.rs b/native/src/bridge_generated.rs index 043dd8e..b2e3076 100644 --- a/native/src/bridge_generated.rs +++ b/native/src/bridge_generated.rs @@ -9,7 +9,7 @@ clippy::too_many_arguments )] // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.80.1. +// Generated by `flutter_rust_bridge`@ 1.82.1. use crate::api::*; use core::panic::UnwindSafe; @@ -23,23 +23,23 @@ use std::sync::Arc; // Section: wire functions fn wire_platform_impl(port_: MessagePort) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap::<_, _, _, Platform>( + FLUTTER_RUST_BRIDGE_HANDLER.wrap::<_, _, _, Platform, _>( WrapInfo { debug_name: "platform", port: Some(port_), mode: FfiCallMode::Normal, }, - move || move |task_callback| Ok(platform()), + move || move |task_callback| Result::<_, ()>::Ok(platform()), ) } fn wire_rust_release_mode_impl(port_: MessagePort) { - FLUTTER_RUST_BRIDGE_HANDLER.wrap::<_, _, _, bool>( + FLUTTER_RUST_BRIDGE_HANDLER.wrap::<_, _, _, bool, _>( WrapInfo { debug_name: "rust_release_mode", port: Some(port_), mode: FfiCallMode::Normal, }, - move || move |task_callback| Ok(rust_release_mode()), + move || move |task_callback| Result::<_, ()>::Ok(rust_release_mode()), ) } // Section: wrapper structs