fix: 补回 emit.rs 缺失的 futures/serde_json import
Sync source to CNB / Sync Git ref (push) Skipped

阶段1搬运时漏了 `use futures::prelude::*;` 和 `use serde_json::Value;`,
导致 cargo test 编译 theseus lib test 时报 E0425(Value) / E0405(TryStream)。
cargo check 不编 test 路径故未暴露。
This commit is contained in:
AxTps committed 2026-10-11 08:08:40 +08:00
1 parent f253d5529b
commit 3d3682023e
1 file changed
+2
+2
View File
@@ -4,6 +4,8 @@ use crate::event::{
InstanceBulkUpdateProgressPayload, InstancePayloadType, LoadingBar, InstanceBulkUpdateProgressPayload, InstancePayloadType, LoadingBar,
LoadingBarType, ProcessPayloadType, ServerPayloadType, LoadingBarType, ProcessPayloadType, ServerPayloadType,
}; };
use futures::prelude::*;
use serde_json::Value;
#[cfg(feature = "tauri")] #[cfg(feature = "tauri")]
use crate::event::{ use crate::event::{
InstanceGroupsChangedPayload, InstancePayload, JavaDiscoveryPayload, InstanceGroupsChangedPayload, InstancePayload, JavaDiscoveryPayload,