fix: update kode-bridge dependency to version 0.1.3 and change source to crates.io
This commit is contained in:
5
src-tauri/Cargo.lock
generated
5
src-tauri/Cargo.lock
generated
@@ -3730,8 +3730,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "kode-bridge"
|
||||
version = "0.1.2"
|
||||
source = "git+https://github.com/KodeBarinn/kode-bridge?branch=dev#f061e7175570e7544d27248d2fea173c7ad3302f"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1b98b8ee7eeeef6fa12b835cb29f60278e647ca7b8e814af0313f577fbe8d5c2"
|
||||
dependencies = [
|
||||
"interprocess",
|
||||
"serde",
|
||||
|
||||
@@ -78,7 +78,7 @@ hmac = "0.12.1"
|
||||
sha2 = "0.10.9"
|
||||
hex = "0.4.3"
|
||||
scopeguard = "1.2.0"
|
||||
kode-bridge = { git = "https://github.com/KodeBarinn/kode-bridge", branch = "dev" }
|
||||
kode-bridge = "0.1.3"
|
||||
dashmap = "6.1.0"
|
||||
tauri-plugin-notification = "2.3.0"
|
||||
|
||||
|
||||
@@ -25,10 +25,6 @@ impl IpcManager {
|
||||
let instance = IpcManager {
|
||||
ipc_path: ipc_path.to_string(),
|
||||
};
|
||||
println!(
|
||||
"IpcManager initialized with IPC path: {}",
|
||||
instance.ipc_path
|
||||
);
|
||||
logging!(
|
||||
info,
|
||||
Type::Ipc,
|
||||
@@ -48,7 +44,7 @@ impl IpcManager {
|
||||
path: &str,
|
||||
body: Option<&serde_json::Value>,
|
||||
) -> AnyResult<Response> {
|
||||
let client = IpcHttpClient::new(&self.ipc_path);
|
||||
let client = IpcHttpClient::new(&self.ipc_path)?;
|
||||
client.request(method, path, body).await
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user