Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix(remote_printer): declare the winapi features the crate uses (#17018)

Ruslan Zaitsev9cb48e959c84
diff --git a/libs/remote_printer/Cargo.toml b/libs/remote_printer/Cargo.toml
index 30f8aff33..d182270bc 100644
--- a/libs/remote_printer/Cargo.toml
+++ b/libs/remote_printer/Cargo.toml
@@ -7,5 +7,5 @@ edition = "2021"
[target.'cfg(target_os = "windows")'.dependencies]
hbb_common = { version = "0.1.0", path = "../hbb_common" }
-winapi = { version = "0.3" }
+winapi = { version = "0.3", features = ["minwindef", "ntdef", "winbase", "winerror", "winnt", "winspool", "winuser"] }
windows-strings = "0.3.1"