Skip to content

Commit de40da6

Browse files
author
cw
committed
fix: allow dead_code on IpcRequest and uuid module for Windows
1 parent 59c965b commit de40da6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cli/src/ipc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use std::os::unix::net::UnixStream;
1111
const SOCKET_PATH: &str = "/tmp/opencli.sock";
1212

1313
#[derive(Serialize, Deserialize, Debug)]
14+
#[allow(dead_code)]
1415
pub struct IpcRequest {
1516
pub method: String,
1617
pub params: Vec<String>,
@@ -100,6 +101,7 @@ impl IpcClient {
100101
}
101102

102103
// UUID generation helper
104+
#[allow(dead_code)]
103105
mod uuid {
104106
use std::fmt;
105107

0 commit comments

Comments
 (0)