Moved x11rb dep to unix cfg'd dependencies. Added init with todo!() to macos implementation

main
isark 2 years ago
parent 5c63de0a7b
commit 0b2043cb17

@ -17,13 +17,12 @@ path = "src/examples/main.rs"
crossbeam = "0.8.2"
log = "0.4.19"
raw-window-handle = "0.5.2"
x11rb = "0.12.0"
[target.'cfg(windows)'.dependencies]
windows = {version = "0.48.0", features = ["Win32_UI_Accessibility", "Win32_Foundation", "Win32_UI_WindowsAndMessaging", "Win32_Graphics_Gdi", "Win32_System_Com", "Win32_System_Ole"]}
[target.'cfg(unix)'.dependencies]
x11rb = "0.12.0"
[dev-dependencies]

@ -0,0 +1,6 @@
pub fn init(
window_title: String,
tx: std::sync::mpsc::Sender<crate::UnderlayEvent>,
) -> Result<(), String> {
todo!()
}
Loading…
Cancel
Save