Skip to content

Commit

Permalink
fixed unix build of the server
Browse files Browse the repository at this point in the history
  • Loading branch information
sidit77 committed Apr 29, 2023
1 parent 517c934 commit e7c2bb9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 42 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 1 addition & 25 deletions inputshare-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "inputshare-client"
version = "3.0.0"
version = "3.0.1"
authors = ["sidit77 <sidit77@gmail.com>"]
edition = "2021"
build = "build.rs"
Expand Down Expand Up @@ -33,29 +33,5 @@ druid-material-icons = "0.2"
inputshare-common = { path = "../lib/inputshare-common" }
yawi = {path = "../lib/yawi", features = ["serde", "druid"]}

# serde_json = "1.0"
# winapi = { version = "0.3", features = ["winuser", "minwindef"] }


# native-windows-gui = "1.0"
# native-windows-derive = "1.0"

# winsock2_extensions = { path = "../lib/winsock2_extensions" }
# egui-d3d11 = { path = "../lib/egui-d3d11", features = ["egui-winit"]}

# udp_connections = {git = "https://github.com/sidit77/udp_connections.git"}

# [dependencies.windows]
# version = "0.46"
# features = [
# "Win32_Foundation",
# "Win32_Graphics_Direct3D11",
# "Win32_Graphics_Direct3D",
# "Win32_Graphics_Dxgi",
# "Win32_Graphics_Dxgi_Common",
# "Win32_System_Com",
# "Win32_UI_HiDpi"
# ]

[build-dependencies]
tauri-winres = "0.1"
15 changes: 1 addition & 14 deletions inputshare-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "inputshare-server"
version = "3.0.0"
version = "3.0.1"
authors = ["sidit77 <sidit77@gmail.com>"]
edition = "2021"

Expand All @@ -20,16 +20,3 @@ bitflags = "2"
clap = { version = "4.1", features = ["derive"] }
mdns-sd = "0.7"
inputshare-common = { path = "../lib/inputshare-common" }

# log = "0.4"
# env_logger = "0.10"
# anyhow = "1.0"
# mio = {version = "0.8", features = ["os-poll", "net"]}
# mio-signals = "0.2.0"
# byteorder = "1"
# vec_map = "0.8.2"
# bitflags = "1.3"
# clap = { version = "4.1", features = ["derive"] }
# system_shutdown = "4.0"

# udp_connections = {git = "https://github.com/sidit77/udp_connections.git"}
2 changes: 1 addition & 1 deletion inputshare-server/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub async fn quit() {
let mut quit = signal(SignalKind::quit()).expect("Could not register signal");
let mut interrupt = signal(SignalKind::interrupt()).expect("Could not register signal");
let mut terminate = signal(SignalKind::terminate()).expect("Could not register signal");
select! {
tokio::select! {
_ = quit.recv() => { }
_ = interrupt.recv() => { }
_ = terminate.recv() => { }
Expand Down

0 comments on commit e7c2bb9

Please sign in to comment.