bump: flutter_rust_bridge: ^2.0.0-dev.36

This commit is contained in:
2024-05-29 21:52:04 +08:00
parent f7dfe108c9
commit 003a6d1cb1
11 changed files with 42 additions and 39 deletions

View File

@ -1,5 +1,6 @@
use std::collections::HashMap;
use std::sync::Arc;
use flutter_rust_bridge::frb;
use futures::executor::block_on;
use once_cell::sync::Lazy;
use scopeguard::defer;
@ -24,6 +25,7 @@ pub struct RsProcessStreamData {
pub rs_pid: u32,
}
#[frb(non_opaque)]
pub struct RsProcess {
pub child_stdin: ChildStdin,
pub rs_pid: u32,

View File

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
// Section: imports

View File

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.35.
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36.
#![allow(
non_camel_case_types,
@ -15,6 +15,7 @@
clippy::let_and_return,
clippy::too_many_arguments,
clippy::match_single_binding,
clippy::clone_on_copy,
clippy::let_unit_value
)]
@ -31,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.35";
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.36";
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1832496273;
// Section: executor
@ -397,7 +398,7 @@ 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 {
let mut inner = <String>::sse_decode(deserializer);
return anyhow::anyhow!("{}", inner);
return flutter_rust_bridge::for_generated::anyhow::anyhow!("{}", inner);
}
}