mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 04:24:45 +08:00
bump: dependencies
This commit is contained in:
@ -11,7 +11,7 @@ strip = "debuginfo"
|
||||
crate-type = ["cdylib", "staticlib"]
|
||||
|
||||
[dependencies]
|
||||
flutter_rust_bridge = "=2.0.0-dev.34"
|
||||
flutter_rust_bridge = "=2.0.0-dev.35"
|
||||
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros", "process"] }
|
||||
futures = { version = "0.3", default-features = false, features = ["executor"] }
|
||||
url = "2.5"
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.33.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||
|
||||
// Section: imports
|
||||
|
||||
@ -209,40 +209,40 @@ impl Default for wire_cst_rust_http_response {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_get_rsi_launcher_asar_data(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__asar_api__get_rsi_launcher_asar_data(
|
||||
port_: i64,
|
||||
asar_path: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_get_rsi_launcher_asar_data_impl(port_, asar_path)
|
||||
wire__crate__api__asar_api__get_rsi_launcher_asar_data_impl(port_, asar_path)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_rsi_launcher_asar_data_write_main_js(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js(
|
||||
port_: i64,
|
||||
that: *mut wire_cst_rsi_launcher_asar_data,
|
||||
content: *mut wire_cst_list_prim_u_8_loose,
|
||||
) {
|
||||
wire_rsi_launcher_asar_data_write_main_js_impl(port_, that, content)
|
||||
wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js_impl(port_, that, content)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_dns_lookup_ips(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_ips(
|
||||
port_: i64,
|
||||
host: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_dns_lookup_ips_impl(port_, host)
|
||||
wire__crate__api__http_api__dns_lookup_ips_impl(port_, host)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_dns_lookup_txt(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__dns_lookup_txt(
|
||||
port_: i64,
|
||||
host: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_dns_lookup_txt_impl(port_, host)
|
||||
wire__crate__api__http_api__dns_lookup_txt_impl(port_, host)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_fetch(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__fetch(
|
||||
port_: i64,
|
||||
method: i32,
|
||||
url: *mut wire_cst_list_prim_u_8_strict,
|
||||
@ -250,54 +250,60 @@ pub extern "C" fn frbgen_starcitizen_doctor_wire_fetch(
|
||||
input_data: *mut wire_cst_list_prim_u_8_strict,
|
||||
with_ip_address: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_fetch_impl(port_, method, url, headers, input_data, with_ip_address)
|
||||
wire__crate__api__http_api__fetch_impl(port_, method, url, headers, input_data, with_ip_address)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_set_default_header(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__http_api__set_default_header(
|
||||
port_: i64,
|
||||
headers: *mut wire_cst_list_record_string_string,
|
||||
) {
|
||||
wire_set_default_header_impl(port_, headers)
|
||||
wire__crate__api__http_api__set_default_header_impl(port_, headers)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_start(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__rs_process__start(
|
||||
port_: i64,
|
||||
executable: *mut wire_cst_list_prim_u_8_strict,
|
||||
arguments: *mut wire_cst_list_String,
|
||||
working_directory: *mut wire_cst_list_prim_u_8_strict,
|
||||
stream_sink: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_start_impl(port_, executable, arguments, working_directory, stream_sink)
|
||||
wire__crate__api__rs_process__start_impl(
|
||||
port_,
|
||||
executable,
|
||||
arguments,
|
||||
working_directory,
|
||||
stream_sink,
|
||||
)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_write(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__rs_process__write(
|
||||
port_: i64,
|
||||
rs_pid: u32,
|
||||
data: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_write_impl(port_, rs_pid, data)
|
||||
wire__crate__api__rs_process__write_impl(port_, rs_pid, data)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_send_notify(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__win32_api__send_notify(
|
||||
port_: i64,
|
||||
summary: *mut wire_cst_list_prim_u_8_strict,
|
||||
body: *mut wire_cst_list_prim_u_8_strict,
|
||||
app_name: *mut wire_cst_list_prim_u_8_strict,
|
||||
app_id: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_send_notify_impl(port_, summary, body, app_name, app_id)
|
||||
wire__crate__api__win32_api__send_notify_impl(port_, summary, body, app_name, app_id)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire_set_foreground_window(
|
||||
pub extern "C" fn frbgen_starcitizen_doctor_wire__crate__api__win32_api__set_foreground_window(
|
||||
port_: i64,
|
||||
window_name: *mut wire_cst_list_prim_u_8_strict,
|
||||
) {
|
||||
wire_set_foreground_window_impl(port_, window_name)
|
||||
wire__crate__api__win32_api__set_foreground_window_impl(port_, window_name)
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.33.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
|
||||
|
||||
#![allow(
|
||||
non_camel_case_types,
|
||||
@ -14,7 +14,8 @@
|
||||
clippy::double_parens,
|
||||
clippy::let_and_return,
|
||||
clippy::too_many_arguments,
|
||||
clippy::match_single_binding
|
||||
clippy::match_single_binding,
|
||||
clippy::let_unit_value
|
||||
)]
|
||||
|
||||
// Section: imports
|
||||
@ -30,7 +31,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.33";
|
||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.35";
|
||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1832496273;
|
||||
|
||||
// Section: executor
|
||||
@ -39,7 +40,7 @@ flutter_rust_bridge::frb_generated_default_handler!();
|
||||
|
||||
// Section: wire_funcs
|
||||
|
||||
fn wire_get_rsi_launcher_asar_data_impl(
|
||||
fn wire__crate__api__asar_api__get_rsi_launcher_asar_data_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
asar_path: impl CstDecode<String>,
|
||||
) {
|
||||
@ -62,7 +63,7 @@ fn wire_get_rsi_launcher_asar_data_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_rsi_launcher_asar_data_write_main_js_impl(
|
||||
fn wire__crate__api__asar_api__rsi_launcher_asar_data_write_main_js_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
that: impl CstDecode<crate::api::asar_api::RsiLauncherAsarData>,
|
||||
content: impl CstDecode<Vec<u8>>,
|
||||
@ -91,7 +92,7 @@ fn wire_rsi_launcher_asar_data_write_main_js_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_dns_lookup_ips_impl(
|
||||
fn wire__crate__api__http_api__dns_lookup_ips_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
host: impl CstDecode<String>,
|
||||
) {
|
||||
@ -112,7 +113,7 @@ fn wire_dns_lookup_ips_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_dns_lookup_txt_impl(
|
||||
fn wire__crate__api__http_api__dns_lookup_txt_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
host: impl CstDecode<String>,
|
||||
) {
|
||||
@ -133,7 +134,7 @@ fn wire_dns_lookup_txt_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_fetch_impl(
|
||||
fn wire__crate__api__http_api__fetch_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
method: impl CstDecode<crate::api::http_api::MyMethod>,
|
||||
url: impl CstDecode<String>,
|
||||
@ -171,7 +172,7 @@ fn wire_fetch_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_set_default_header_impl(
|
||||
fn wire__crate__api__http_api__set_default_header_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
headers: impl CstDecode<std::collections::HashMap<String, String>>,
|
||||
) {
|
||||
@ -191,7 +192,7 @@ fn wire_set_default_header_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_start_impl(
|
||||
fn wire__crate__api__rs_process__start_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
executable: impl CstDecode<String>,
|
||||
arguments: impl CstDecode<Vec<String>>,
|
||||
@ -233,7 +234,7 @@ fn wire_start_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_write_impl(
|
||||
fn wire__crate__api__rs_process__write_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
rs_pid: impl CstDecode<u32>,
|
||||
data: impl CstDecode<String>,
|
||||
@ -260,7 +261,7 @@ fn wire_write_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_send_notify_impl(
|
||||
fn wire__crate__api__win32_api__send_notify_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
summary: impl CstDecode<Option<String>>,
|
||||
body: impl CstDecode<Option<String>>,
|
||||
@ -291,7 +292,7 @@ fn wire_send_notify_impl(
|
||||
},
|
||||
)
|
||||
}
|
||||
fn wire_set_foreground_window_impl(
|
||||
fn wire__crate__api__win32_api__set_foreground_window_impl(
|
||||
port_: flutter_rust_bridge::for_generated::MessagePort,
|
||||
window_name: impl CstDecode<String>,
|
||||
) {
|
||||
@ -395,7 +396,8 @@ impl CstDecode<u8> for u8 {
|
||||
impl SseDecode for flutter_rust_bridge::for_generated::anyhow::Error {
|
||||
// Codec=Sse (Serialization based), see doc to use other codecs
|
||||
fn sse_decode(deserializer: &mut flutter_rust_bridge::for_generated::SseDeserializer) -> Self {
|
||||
unreachable!("");
|
||||
let mut inner = <String>::sse_decode(deserializer);
|
||||
return anyhow::anyhow!("{}", inner);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user