diff --git a/Cargo.lock b/Cargo.lock index efdc30a69d..cdb06f31be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -516,7 +516,7 @@ dependencies = [ [[package]] name = "flutter_rust_bridge" -version = "1.58.2" +version = "1.59.0" dependencies = [ "allo-isolate", "anyhow", @@ -540,7 +540,7 @@ dependencies = [ [[package]] name = "flutter_rust_bridge_codegen" -version = "1.58.2" +version = "1.59.0" dependencies = [ "anyhow", "cargo_metadata", @@ -608,7 +608,7 @@ dependencies = [ [[package]] name = "flutter_rust_bridge_macros" -version = "1.58.2" +version = "1.59.0" [[package]] name = "futures-core" diff --git a/Cargo.toml b/Cargo.toml index 0ed6be61c4..9ac28d3178 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ ] [workspace.package] -version = "1.58.2" +version = "1.59.0" edition = "2018" license = "MIT" description = "High-level memory-safe binding generator for Flutter/Dart <-> Rust" diff --git a/book/src/help.serve.txt b/book/src/help.serve.txt index b0fa4e1c98..a79124c963 100644 --- a/book/src/help.serve.txt +++ b/book/src/help.serve.txt @@ -1,4 +1,4 @@ -flutter_rust_bridge_serve 1.58.2 +flutter_rust_bridge_serve 1.59.0 Develop Rust WASM modules with cross-origin isolation. USAGE: diff --git a/book/src/help.txt b/book/src/help.txt index f4726b18a6..2d313ffca2 100644 --- a/book/src/help.txt +++ b/book/src/help.txt @@ -1,4 +1,4 @@ -flutter_rust_bridge_codegen 1.58.2 +flutter_rust_bridge_codegen 1.59.0 USAGE: flutter_rust_bridge_codegen [OPTIONS] --rust-input ... --dart-output ... diff --git a/frb_codegen/contrib/flutter_rust_bridge_codegen.json b/frb_codegen/contrib/flutter_rust_bridge_codegen.json index 34000a6fea..27f142ed7e 100644 --- a/frb_codegen/contrib/flutter_rust_bridge_codegen.json +++ b/frb_codegen/contrib/flutter_rust_bridge_codegen.json @@ -1,15 +1,15 @@ { - "version": "1.58.2", + "version": "1.59.0", "description": "High-level memory-safe binding generator for Flutter/Dart <-> Rust", "homepage": "https://fzyzcjy.github.io/flutter_rust_bridge/", "license": "MIT", "architecture": { "64bit": { - "url": "https://github.com/fzyzcjy/flutter_rust_bridge/releases/download/v1.58.2/flutter_rust_bridge_codegen-x86_64-pc-windows-msvc-v1.58.2.zip", + "url": "https://github.com/fzyzcjy/flutter_rust_bridge/releases/download/v1.59.0/flutter_rust_bridge_codegen-x86_64-pc-windows-msvc-v1.59.0.zip", "hash": "Not Found" }, "32bit": { - "url": "https://github.com/fzyzcjy/flutter_rust_bridge/releases/download/v1.58.2/flutter_rust_bridge_codegen-i686-pc-windows-msvc-v1.58.2.zip", + "url": "https://github.com/fzyzcjy/flutter_rust_bridge/releases/download/v1.59.0/flutter_rust_bridge_codegen-i686-pc-windows-msvc-v1.59.0.zip", "hash": "Not Found" } }, diff --git a/frb_dart/pubspec.yaml b/frb_dart/pubspec.yaml index 1c00a309fe..ae36e4c77a 100644 --- a/frb_dart/pubspec.yaml +++ b/frb_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_rust_bridge description: High-level memory-safe binding generator for Flutter/Dart <-> Rust -version: 1.58.2 +version: 1.59.0 repository: https://github.com/fzyzcjy/flutter_rust_bridge environment: sdk: ">=2.15.0 <3.0.0" diff --git a/frb_example/pure_dart/dart/lib/bridge_definitions.dart b/frb_example/pure_dart/dart/lib/bridge_definitions.dart index 9fb828b7ec..6e51dac0ce 100644 --- a/frb_example/pure_dart/dart/lib/bridge_definitions.dart +++ b/frb_example/pure_dart/dart/lib/bridge_definitions.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'bridge_generated.io.dart' if (dart.library.html) 'bridge_generated.web.dart'; diff --git a/frb_example/pure_dart/dart/lib/bridge_generated.dart b/frb_example/pure_dart/dart/lib/bridge_generated.dart index 9e8fccf850..a318338ad4 100644 --- a/frb_example/pure_dart/dart/lib/bridge_generated.dart +++ b/frb_example/pure_dart/dart/lib/bridge_generated.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import "bridge_definitions.dart"; diff --git a/frb_example/pure_dart/dart/lib/bridge_generated.io.dart b/frb_example/pure_dart/dart/lib/bridge_generated.io.dart index 23ec02f27e..ae413bd5bb 100644 --- a/frb_example/pure_dart/dart/lib/bridge_generated.io.dart +++ b/frb_example/pure_dart/dart/lib/bridge_generated.io.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import "bridge_definitions.dart"; diff --git a/frb_example/pure_dart/dart/lib/bridge_generated.web.dart b/frb_example/pure_dart/dart/lib/bridge_generated.web.dart index f49ac2da52..ce76e2452e 100644 --- a/frb_example/pure_dart/dart/lib/bridge_generated.web.dart +++ b/frb_example/pure_dart/dart/lib/bridge_generated.web.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import "bridge_definitions.dart"; diff --git a/frb_example/pure_dart/dart/pubspec.lock b/frb_example/pure_dart/dart/pubspec.lock index d9851ff34a..ab12629958 100644 --- a/frb_example/pure_dart/dart/pubspec.lock +++ b/frb_example/pure_dart/dart/pubspec.lock @@ -203,7 +203,7 @@ packages: path: "../../../frb_dart" relative: true source: path - version: "1.58.2" + version: "1.59.0" freezed: dependency: "direct dev" description: diff --git a/frb_example/pure_dart/rust/src/bridge_generated.rs b/frb_example/pure_dart/rust/src/bridge_generated.rs index bd220a2f12..10a44a9791 100644 --- a/frb_example/pure_dart/rust/src/bridge_generated.rs +++ b/frb_example/pure_dart/rust/src/bridge_generated.rs @@ -9,7 +9,7 @@ clippy::too_many_arguments )] // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. use crate::api::*; use core::panic::UnwindSafe; diff --git a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.dart b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.dart index 21e610591e..10ad40a1ed 100644 --- a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.dart +++ b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'dart:convert'; diff --git a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.io.dart b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.io.dart index d156d93ea5..c13e814527 100644 --- a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.io.dart +++ b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.io.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'dart:convert'; diff --git a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.web.dart b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.web.dart index 7301a9c4a7..8abf8a7c98 100644 --- a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.web.dart +++ b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_1.web.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'dart:convert'; diff --git a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.dart b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.dart index 592bd562d8..4b6c24b949 100644 --- a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.dart +++ b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'dart:convert'; diff --git a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.io.dart b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.io.dart index 4afc748237..ea6217a96f 100644 --- a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.io.dart +++ b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.io.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'dart:convert'; diff --git a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.web.dart b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.web.dart index 45c6c21ce0..4cef60b436 100644 --- a/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.web.dart +++ b/frb_example/pure_dart_multi/dart/lib/bridge_generated_api_2.web.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'dart:convert'; diff --git a/frb_example/pure_dart_multi/dart/pubspec.lock b/frb_example/pure_dart_multi/dart/pubspec.lock index 1917aa5f90..1ee5314d94 100644 --- a/frb_example/pure_dart_multi/dart/pubspec.lock +++ b/frb_example/pure_dart_multi/dart/pubspec.lock @@ -203,7 +203,7 @@ packages: path: "../../../frb_dart" relative: true source: path - version: "1.58.2" + version: "1.59.0" freezed: dependency: "direct dev" description: diff --git a/frb_example/pure_dart_multi/rust/src/generated_api_1.rs b/frb_example/pure_dart_multi/rust/src/generated_api_1.rs index 5ed71b77eb..7085418251 100644 --- a/frb_example/pure_dart_multi/rust/src/generated_api_1.rs +++ b/frb_example/pure_dart_multi/rust/src/generated_api_1.rs @@ -9,7 +9,7 @@ clippy::too_many_arguments )] // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. use crate::api_1::*; use core::panic::UnwindSafe; diff --git a/frb_example/pure_dart_multi/rust/src/generated_api_2.rs b/frb_example/pure_dart_multi/rust/src/generated_api_2.rs index 59b95e5ce0..99b4be4142 100644 --- a/frb_example/pure_dart_multi/rust/src/generated_api_2.rs +++ b/frb_example/pure_dart_multi/rust/src/generated_api_2.rs @@ -9,7 +9,7 @@ clippy::too_many_arguments )] // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. use crate::api_2::*; use core::panic::UnwindSafe; diff --git a/frb_example/with_flutter/lib/bridge_definitions.dart b/frb_example/with_flutter/lib/bridge_definitions.dart index 43bb012a07..d65083dc19 100644 --- a/frb_example/with_flutter/lib/bridge_definitions.dart +++ b/frb_example/with_flutter/lib/bridge_definitions.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import 'bridge_generated.io.dart' if (dart.library.html) 'bridge_generated.web.dart'; diff --git a/frb_example/with_flutter/lib/bridge_generated.dart b/frb_example/with_flutter/lib/bridge_generated.dart index 12d334eb65..94d4e74e77 100644 --- a/frb_example/with_flutter/lib/bridge_generated.dart +++ b/frb_example/with_flutter/lib/bridge_generated.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import "bridge_definitions.dart"; diff --git a/frb_example/with_flutter/lib/bridge_generated.io.dart b/frb_example/with_flutter/lib/bridge_generated.io.dart index bfe0ef968e..ca5e525313 100644 --- a/frb_example/with_flutter/lib/bridge_generated.io.dart +++ b/frb_example/with_flutter/lib/bridge_generated.io.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import "bridge_definitions.dart"; diff --git a/frb_example/with_flutter/lib/bridge_generated.web.dart b/frb_example/with_flutter/lib/bridge_generated.web.dart index 713bf4bdca..585698489d 100644 --- a/frb_example/with_flutter/lib/bridge_generated.web.dart +++ b/frb_example/with_flutter/lib/bridge_generated.web.dart @@ -1,5 +1,5 @@ // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. // 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, 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 import "bridge_definitions.dart"; diff --git a/frb_example/with_flutter/pubspec.lock b/frb_example/with_flutter/pubspec.lock index eb520e529a..d5591cbecc 100644 --- a/frb_example/with_flutter/pubspec.lock +++ b/frb_example/with_flutter/pubspec.lock @@ -241,7 +241,7 @@ packages: path: "../../frb_dart" relative: true source: path - version: "1.58.2" + version: "1.59.0" flutter_test: dependency: "direct dev" description: flutter diff --git a/frb_example/with_flutter/rust/src/bridge_generated.rs b/frb_example/with_flutter/rust/src/bridge_generated.rs index 96686bd68a..fda2f0b3a4 100644 --- a/frb_example/with_flutter/rust/src/bridge_generated.rs +++ b/frb_example/with_flutter/rust/src/bridge_generated.rs @@ -9,7 +9,7 @@ clippy::too_many_arguments )] // AUTO GENERATED FILE, DO NOT EDIT. -// Generated by `flutter_rust_bridge`@ 1.58.2. +// Generated by `flutter_rust_bridge`@ 1.59.0. use crate::api::*; use core::panic::UnwindSafe;