diff --git a/Cargo.toml b/Cargo.toml index d3b026e7..61b22086 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ path = "src/lib.rs" all-features = true [features] -default = ["bracketed-paste", "events", "windows"] +default = ["bracketed-paste", "events"] #! ### Default features ## Enables triggering [`Event::Paste`](event::Event::Paste) when pasting text into the terminal. @@ -30,9 +30,6 @@ bracketed-paste = [] ## Enables reading input/events from the system using the [`event`] module. events = ["dep:mio", "dep:signal-hook", "dep:signal-hook-mio"] -## Enables windows specific crates. -windows = ["dep:winapi", "dep:crossterm_winapi"] - #! ### Optional Features ## Enables the [EventStream](event::EventStream) struct for async event reading. @@ -53,8 +50,8 @@ serde = { version = "1.0", features = ["derive"], optional = true } # Windows dependencies [target.'cfg(windows)'.dependencies] -crossterm_winapi = { version = "0.9.1", optional = true } -winapi = { version = "0.3.9", optional = true, features = ["winuser", "winerror"] } +crossterm_winapi = { version = "0.9.1" } +winapi = { version = "0.3.9", features = ["winuser", "winerror"] } # UNIX dependencies [target.'cfg(unix)'.dependencies]