Skip to content

Commit e7c2bb9

Browse files
committed
fixed unix build of the server
1 parent 517c934 commit e7c2bb9

4 files changed

Lines changed: 5 additions & 42 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inputshare-client/Cargo.toml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "inputshare-client"
3-
version = "3.0.0"
3+
version = "3.0.1"
44
authors = ["sidit77 <sidit77@gmail.com>"]
55
edition = "2021"
66
build = "build.rs"
@@ -33,29 +33,5 @@ druid-material-icons = "0.2"
3333
inputshare-common = { path = "../lib/inputshare-common" }
3434
yawi = {path = "../lib/yawi", features = ["serde", "druid"]}
3535

36-
# serde_json = "1.0"
37-
# winapi = { version = "0.3", features = ["winuser", "minwindef"] }
38-
39-
40-
# native-windows-gui = "1.0"
41-
# native-windows-derive = "1.0"
42-
43-
# winsock2_extensions = { path = "../lib/winsock2_extensions" }
44-
# egui-d3d11 = { path = "../lib/egui-d3d11", features = ["egui-winit"]}
45-
46-
# udp_connections = {git = "https://github.com/sidit77/udp_connections.git"}
47-
48-
# [dependencies.windows]
49-
# version = "0.46"
50-
# features = [
51-
# "Win32_Foundation",
52-
# "Win32_Graphics_Direct3D11",
53-
# "Win32_Graphics_Direct3D",
54-
# "Win32_Graphics_Dxgi",
55-
# "Win32_Graphics_Dxgi_Common",
56-
# "Win32_System_Com",
57-
# "Win32_UI_HiDpi"
58-
# ]
59-
6036
[build-dependencies]
6137
tauri-winres = "0.1"

inputshare-server/Cargo.toml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "inputshare-server"
3-
version = "3.0.0"
3+
version = "3.0.1"
44
authors = ["sidit77 <sidit77@gmail.com>"]
55
edition = "2021"
66

@@ -20,16 +20,3 @@ bitflags = "2"
2020
clap = { version = "4.1", features = ["derive"] }
2121
mdns-sd = "0.7"
2222
inputshare-common = { path = "../lib/inputshare-common" }
23-
24-
# log = "0.4"
25-
# env_logger = "0.10"
26-
# anyhow = "1.0"
27-
# mio = {version = "0.8", features = ["os-poll", "net"]}
28-
# mio-signals = "0.2.0"
29-
# byteorder = "1"
30-
# vec_map = "0.8.2"
31-
# bitflags = "1.3"
32-
# clap = { version = "4.1", features = ["derive"] }
33-
# system_shutdown = "4.0"
34-
35-
# udp_connections = {git = "https://github.com/sidit77/udp_connections.git"}

inputshare-server/src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub async fn quit() {
4747
let mut quit = signal(SignalKind::quit()).expect("Could not register signal");
4848
let mut interrupt = signal(SignalKind::interrupt()).expect("Could not register signal");
4949
let mut terminate = signal(SignalKind::terminate()).expect("Could not register signal");
50-
select! {
50+
tokio::select! {
5151
_ = quit.recv() => { }
5252
_ = interrupt.recv() => { }
5353
_ = terminate.recv() => { }

0 commit comments

Comments
 (0)