diff --git a/hui-winit/Cargo.toml b/hui-winit/Cargo.toml index 86383e4..f6452e0 100644 --- a/hui-winit/Cargo.toml +++ b/hui-winit/Cargo.toml @@ -19,12 +19,9 @@ include = [ [dependencies] hui = { version = "=0.1.0-alpha.7", path = "../hui", default-features = false } winit = { version = "0.30", default-features = false, features = ["x11"] } -# winit_30 = { package = "winit", version = "0.30", default-features = false, optional = true } -# winit_29 = { package = "winit", version = "0.29", default-features = false, optional = true } glam = "0.30" log = "0.4" [features] default = [] -# winit_30 = ["dep:winit_30"] -# winit_29 = ["dep:winit_29"] + diff --git a/hui-winit/src/lib.rs b/hui-winit/src/lib.rs index 43dae5c..5214062 100644 --- a/hui-winit/src/lib.rs +++ b/hui-winit/src/lib.rs @@ -1,10 +1,3 @@ -// #[cfg(all(feature = "winit_30", feature = "winit_29"))] -// compile_error!("Only one of the winit_30 and winit_29 features can be enabled at a time"); -// #[cfg(not(any(feature = "winit_30", feature = "winit_29")))] -// compile_error!("One of the winit_30 and winit_29 features must be enabled"); -// #[cfg(feature = "winit_30")] extern crate winit_30 as winit; -// #[cfg(feature = "winit_29")] extern crate winit_29 as winit; - use glam::vec2; use hui::{event::UiEvent, UiInstance}; use winit::event::{Event, WindowEvent, MouseButton, ElementState};