mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 01:53:41 +08:00
bump: flutter_rust_bridge 2.0.0-dev.38
This commit is contained in:
parent
222b9e8fef
commit
cb69211a78
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||
|
||||
@ -7,7 +7,7 @@ import '../frb_generated.dart';
|
||||
import '../http_package.dart';
|
||||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
||||
|
||||
// The functions `_my_method_to_hyper_method` are not `pub`, thus are ignored.
|
||||
// These functions are ignored because they are not marked as `pub`: `_my_method_to_hyper_method`
|
||||
|
||||
Future<void> setDefaultHeader({required Map<String, String> headers}) =>
|
||||
RustLib.instance.api.crateApiHttpApiSetDefaultHeader(headers: headers);
|
||||
|
@ -1,13 +1,13 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||
|
||||
import '../frb_generated.dart';
|
||||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
||||
|
||||
// The type `RsProcess` is not used by any `pub` functions, thus it is ignored.
|
||||
// The functions `_process_output`, `clone` are not `pub`, thus are ignored.
|
||||
// These functions are ignored because they are not marked as `pub`: `_process_output`
|
||||
// These types are ignored because they are not used by any `pub` functions: `RsProcess`
|
||||
|
||||
Stream<RsProcessStreamData> start(
|
||||
{required String executable,
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// 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
|
||||
|
||||
@ -9,6 +9,7 @@ import 'api/rs_process.dart';
|
||||
import 'api/win32_api.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 'http_package.dart';
|
||||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart';
|
||||
@ -55,7 +56,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
|
||||
kDefaultExternalLibraryLoaderConfig;
|
||||
|
||||
@override
|
||||
String get codegenVersion => '2.0.0-dev.37';
|
||||
String get codegenVersion => '2.0.0-dev.38';
|
||||
|
||||
@override
|
||||
int get rustContentHash => 1832496273;
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// 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
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// Section: imports
|
||||
|
||||
use super::*;
|
||||
use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt};
|
||||
use flutter_rust_bridge::for_generated::transform_result_dco;
|
||||
use flutter_rust_bridge::for_generated::{transform_result_dco, Lockable};
|
||||
use flutter_rust_bridge::{Handler, IntoIntoDart};
|
||||
|
||||
// Section: boilerplate
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
#![allow(
|
||||
non_camel_case_types,
|
||||
@ -22,7 +22,7 @@
|
||||
// Section: imports
|
||||
|
||||
use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt};
|
||||
use flutter_rust_bridge::for_generated::transform_result_dco;
|
||||
use flutter_rust_bridge::for_generated::{transform_result_dco, Lockable};
|
||||
use flutter_rust_bridge::{Handler, IntoIntoDart};
|
||||
|
||||
// Section: boilerplate
|
||||
@ -32,7 +32,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.0.0-dev.37";
|
||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.38";
|
||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1832496273;
|
||||
|
||||
// Section: executor
|
||||
@ -187,7 +187,9 @@ fn wire__crate__api__http_api__set_default_header_impl(
|
||||
let api_headers = headers.cst_decode();
|
||||
move |context| {
|
||||
transform_result_dco((move || {
|
||||
Result::<_, ()>::Ok(crate::api::http_api::set_default_header(api_headers))
|
||||
Result::<_, ()>::Ok({
|
||||
crate::api::http_api::set_default_header(api_headers);
|
||||
})
|
||||
})())
|
||||
}
|
||||
},
|
||||
@ -219,15 +221,15 @@ fn wire__crate__api__rs_process__start_impl(
|
||||
move |context| async move {
|
||||
transform_result_dco(
|
||||
(move || async move {
|
||||
Result::<_, ()>::Ok(
|
||||
Result::<_, ()>::Ok({
|
||||
crate::api::rs_process::start(
|
||||
&api_executable,
|
||||
api_arguments,
|
||||
&api_working_directory,
|
||||
api_stream_sink,
|
||||
)
|
||||
.await,
|
||||
)
|
||||
.await;
|
||||
})
|
||||
})()
|
||||
.await,
|
||||
)
|
||||
@ -252,9 +254,9 @@ fn wire__crate__api__rs_process__write_impl(
|
||||
move |context| async move {
|
||||
transform_result_dco(
|
||||
(move || async move {
|
||||
Result::<_, ()>::Ok(
|
||||
crate::api::rs_process::write(&api_rs_pid, api_data).await,
|
||||
)
|
||||
Result::<_, ()>::Ok({
|
||||
crate::api::rs_process::write(&api_rs_pid, api_data).await;
|
||||
})
|
||||
})()
|
||||
.await,
|
||||
)
|
||||
@ -705,6 +707,7 @@ impl flutter_rust_bridge::IntoDart for crate::http_package::MyHttpVersion {
|
||||
Self::HTTP_2 => 3.into_dart(),
|
||||
Self::HTTP_3 => 4.into_dart(),
|
||||
Self::HTTP_UNKNOWN => 5.into_dart(),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -732,6 +735,7 @@ impl flutter_rust_bridge::IntoDart for crate::api::http_api::MyMethod {
|
||||
Self::Trace => 6.into_dart(),
|
||||
Self::Connect => 7.into_dart(),
|
||||
Self::Patch => 8.into_dart(),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -775,6 +779,7 @@ impl flutter_rust_bridge::IntoDart for crate::api::rs_process::RsProcessStreamDa
|
||||
Self::Output => 0.into_dart(),
|
||||
Self::Error => 1.into_dart(),
|
||||
Self::Exit => 2.into_dart(),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user