GeezerVison is showing github.com — desktop: use process-wrap instead of manual job object (#13431) · motionharvest/opencode@920255e
File tree
Expand file treeCollapse file tree
Open diff view settings
packages/desktop/src-tauri
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/desktop/src-tauri/Cargo.lock +84-7Lines changed: 84 additions & 7 deletions Collapse file
Copy file name to clipboardExpand all lines: packages/desktop/src-tauri/Cargo.toml +2-9Lines changed: 2 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -34,7 +34,7 @@ tauri-plugin-single-instance = { version = "2", features = ["deep-link"] } |
34 | 34 |
|
35 | 35 | serde = { version = "1", features = ["derive"] } |
36 | 36 | serde_json = "1" |
37 | | -tokio = "1.48.0" |
| 37 | +tokio = { version = "1.48.0", features = ["process"] } |
38 | 38 | listeners = "0.3" |
39 | 39 | tauri-plugin-os = "2" |
40 | 40 | futures = "0.3.31" |
@@ -52,6 +52,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
52 | 52 | tracing-appender = "0.2" |
53 | 53 | chrono = "0.4" |
54 | 54 | tokio-stream = { version = "0.1.18", features = ["sync"] } |
| 55 | +process-wrap = { version = "9.0.3", features = ["tokio1"] } |
55 | 56 |
|
56 | 57 | [target.'cfg(target_os = "linux")'.dependencies] |
57 | 58 | gtk = "0.18.2" |
@@ -62,14 +63,6 @@ objc2 = "0.6" |
62 | 63 | objc2-web-kit = "0.3" |
63 | 64 |
|
64 | 65 |
|
65 | | -[target.'cfg(windows)'.dependencies] |
66 | | -windows = { version = "0.61", features = [ |
67 | | - "Win32_Foundation", |
68 | | - "Win32_System_JobObjects", |
69 | | - "Win32_System_Threading", |
70 | | - "Win32_Security" |
71 | | -] } |
72 | | - |
73 | 66 | [patch.crates-io] |
74 | 67 | specta = { git = "https://github.com/specta-rs/specta", rev = "591a5f3ddc78348abf4cbb541d599d65306d92b9" } |
75 | 68 | specta-typescript = { git = "https://github.com/specta-rs/specta", rev = "591a5f3ddc78348abf4cbb541d599d65306d92b9" } |
|