diff --git a/lib/rust/api/aiscript.dart b/lib/rust/api/aiscript.dart index 30e44f63..b60af328 100644 --- a/lib/rust/api/aiscript.dart +++ b/lib/rust/api/aiscript.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/rust/api/aiscript/api.dart b/lib/rust/api/aiscript/api.dart index 41c6b2a6..001f3a78 100644 --- a/lib/rust/api/aiscript/api.dart +++ b/lib/rust/api/aiscript/api.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/rust/api/aiscript/play.dart b/lib/rust/api/aiscript/play.dart index e8b0d961..806c7ccf 100644 --- a/lib/rust/api/aiscript/play.dart +++ b/lib/rust/api/aiscript/play.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/lib/rust/api/aiscript/ui.dart b/lib/rust/api/aiscript/ui.dart index 7d31e8a3..16c00f4b 100644 --- a/lib/rust/api/aiscript/ui.dart +++ b/lib/rust/api/aiscript/ui.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import @@ -9,6 +9,7 @@ import 'package:freezed_annotation/freezed_annotation.dart' hide protected; part 'ui.freezed.dart'; // These functions are ignored because they are not marked as `pub`: `create_component_instance`, `register`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update`, `update` +// These function are ignored because they are on traits that is not defined in current crate (put an empty `#[frb]` on it to unignore): `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `clone`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from`, `try_from` // Rust type: RustOpaqueMoi> abstract class AsUiButtonCallback implements RustOpaqueInterface { diff --git a/lib/rust/frb_generated.dart b/lib/rust/frb_generated.dart index 44adcf44..2300cce6 100644 --- a/lib/rust/frb_generated.dart +++ b/lib/rust/frb_generated.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.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 @@ -10,7 +10,8 @@ import 'api/aiscript/ui.dart'; import 'dart:async'; import 'dart:convert'; import 'frb_generated.dart'; -import 'frb_generated.io.dart' if (dart.library.html) 'frb_generated.web.dart'; +import 'frb_generated.io.dart' + if (dart.library.js_interop) 'frb_generated.web.dart'; import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; /// Main entrypoint of the Rust API @@ -55,7 +56,7 @@ class RustLib extends BaseEntrypoint { kDefaultExternalLibraryLoaderConfig; @override - String get codegenVersion => '2.0.0-dev.40'; + String get codegenVersion => '2.0.0'; @override int get rustContentHash => -463493403; diff --git a/lib/rust/frb_generated.io.dart b/lib/rust/frb_generated.io.dart index b1fabe9c..189f2ced 100644 --- a/lib/rust/frb_generated.io.dart +++ b/lib/rust/frb_generated.io.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.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 diff --git a/lib/rust/frb_generated.web.dart b/lib/rust/frb_generated.web.dart index f145b9dd..2f129c2f 100644 --- a/lib/rust/frb_generated.web.dart +++ b/lib/rust/frb_generated.web.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.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 diff --git a/pubspec.lock b/pubspec.lock index bd8e3e89..df8b9223 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -764,10 +764,10 @@ packages: dependency: "direct main" description: name: flutter_rust_bridge - sha256: "4ab629fec14aa4a6a3b503d15ec81cf0cd2cf4d409eb2bbdd32491fea69d9f61" + sha256: f703c4b50e253e53efc604d50281bbaefe82d615856f8ae1e7625518ae252e98 url: "https://pub.dev" source: hosted - version: "2.0.0-dev.40" + version: "2.0.0" flutter_secure_storage: dependency: "direct main" description: @@ -1346,10 +1346,10 @@ packages: dependency: transitive description: name: path_provider_android - sha256: "9c96da072b421e98183f9ea7464898428e764bc0ce5567f27ec8693442e72514" + sha256: bca87b0165ffd7cdb9cad8edd22d18d2201e886d9a9f19b4fb3452ea7df3a72a url: "https://pub.dev" source: hosted - version: "2.2.5" + version: "2.2.6" path_provider_foundation: dependency: transitive description: @@ -1951,10 +1951,10 @@ packages: dependency: transitive description: name: video_player_android - sha256: "4f77780499ebbdb3a8387f3de7a9d07a7665cfb3a3741177c44a52353fe41d64" + sha256: "9529001630e42988f755772972d5014d30121610700e8e502278a245939f8fc8" url: "https://pub.dev" source: hosted - version: "2.4.16" + version: "2.5.0" video_player_avfoundation: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index e389fddb..d986dded 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: aria description: "A client app for Misskey, a federated social media platform." publish_to: 'none' -version: 0.10.0-beta.2+23 +version: 0.10.0-beta.3+24 environment: sdk: '>=3.4.0 <4.0.0' @@ -36,7 +36,7 @@ dependencies: flutter_localizations: sdk: flutter flutter_math_fork: ^0.7.2 - flutter_rust_bridge: ^2.0.0-dev.40 + flutter_rust_bridge: ^2.0.0 flutter_secure_storage: ^9.2.2 flutter_svg: ^2.0.10+1 fluttertoast: ^8.2.6 diff --git a/rust/Cargo.lock b/rust/Cargo.lock index edbc8f00..ac790319 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -269,9 +269,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "flutter_rust_bridge" -version = "2.0.0-dev.40" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c365fbbceacaafff62c4efcb50584955624ae4f5524355e947591116fe26792" +checksum = "033e831e28f1077ceae3490fb6d093dfdefefd09c5c6e8544c6579effe7e814f" dependencies = [ "allo-isolate", "android_logger", @@ -296,9 +296,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge_macros" -version = "2.0.0-dev.40" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a20b6a0e0ff1075c8425d5a157704376a342a9a1da6e5c0ecd358ae18c9a66cf" +checksum = "0217fc4b7131b52578be60bbe38c76b3edfc2f9fecab46d9f930510f40ef9023" dependencies = [ "hex", "md-5", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 3a11de3c..3187909f 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -8,7 +8,7 @@ crate-type = ["cdylib", "staticlib"] [dependencies] aiscript = { git = "https://github.com/poppingmoon/aiscript-rs", rev = "2fcca58c795077e7f161bdb4aeeab7803e28477d" } -flutter_rust_bridge = "=2.0.0-dev.40" +flutter_rust_bridge = "=2.0.0" futures = "0.3" indexmap = "2.2" serde_json = { version = "1.0", features = ["preserve_order"] } diff --git a/rust/src/frb_generated.io.rs b/rust/src/frb_generated.io.rs index 17e66f81..903cd56e 100644 --- a/rust/src/frb_generated.io.rs +++ b/rust/src/frb_generated.io.rs @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.0. // Section: imports diff --git a/rust/src/frb_generated.rs b/rust/src/frb_generated.rs index 39d11ccf..1532369f 100644 --- a/rust/src/frb_generated.rs +++ b/rust/src/frb_generated.rs @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.0. #![allow( non_camel_case_types, @@ -39,7 +39,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.0.0-dev.40"; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0"; pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = -463493403; // Section: executor diff --git a/rust/src/frb_generated.web.rs b/rust/src/frb_generated.web.rs index 12684a3a..b03ca4e0 100644 --- a/rust/src/frb_generated.web.rs +++ b/rust/src/frb_generated.web.rs @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// Generated by `flutter_rust_bridge`@ 2.0.0-dev.40. +// Generated by `flutter_rust_bridge`@ 2.0.0. // Section: imports