From d02ec82b1d72f2d215ef764865458127853707fe Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Thu, 1 Aug 2024 16:44:00 -0400 Subject: [PATCH] Bump crossterm to 0.28.1 --- cursive-core/Cargo.toml | 6 +++--- cursive/Cargo.toml | 12 ++++++------ cursive/src/backends/blt.rs | 2 +- cursive/src/backends/crossterm.rs | 2 +- cursive/src/backends/termion.rs | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cursive-core/Cargo.toml b/cursive-core/Cargo.toml index cf03f7e3..9f011bd3 100644 --- a/cursive-core/Cargo.toml +++ b/cursive-core/Cargo.toml @@ -69,9 +69,9 @@ version = "0.11" [features] default = [] doc-cfg = [] # Add doc-centric features -builder = ["inventory", "cursive-macros/builder"] # Enable building views from configs -markdown = ["pulldown-cmark"] # Enables a markdown-to-styled string parser -ansi = ["ansi-parser"] # Enables an ansi-to-styled string parser +builder = ["dep:inventory", "cursive-macros/builder"] # Enable building views from configs +markdown = ["dep:pulldown-cmark"] # Enables a markdown-to-styled string parser +ansi = ["dep:ansi-parser"] # Enables an ansi-to-styled string parser [lib] name = "cursive_core" diff --git a/cursive/Cargo.toml b/cursive/Cargo.toml index 3879852b..f3eaf3d6 100644 --- a/cursive/Cargo.toml +++ b/cursive/Cargo.toml @@ -47,17 +47,17 @@ version = "4" [dependencies.crossterm] optional = true -version = "0.27" +version = "0.28.1" [features] doc-cfg = ["cursive_core/doc-cfg"] # Enable doc_cfg, a nightly-only doc feature. builder = ["cursive_core/builder"] -blt-backend = ["bear-lib-terminal"] +blt-backend = ["dep:bear-lib-terminal"] default = ["crossterm-backend"] -ncurses-backend = ["ncurses", "maplit"] -pancurses-backend = ["pancurses", "maplit"] -termion-backend = ["termion"] -crossterm-backend = ["crossterm"] +ncurses-backend = ["dep:ncurses", "dep:maplit"] +pancurses-backend = ["dep:pancurses", "dep:maplit"] +termion-backend = ["dep:termion"] +crossterm-backend = ["dep:crossterm"] markdown = ["cursive_core/markdown"] ansi = ["cursive_core/ansi"] unstable_scroll = [] # Deprecated feature, remove in next version diff --git a/cursive/src/backends/blt.rs b/cursive/src/backends/blt.rs index 1a5f84fd..1fe17ec9 100644 --- a/cursive/src/backends/blt.rs +++ b/cursive/src/backends/blt.rs @@ -1,7 +1,7 @@ //! Backend using BearLibTerminal //! //! Requires the `blt-backend` feature. -#![cfg(feature = "bear-lib-terminal")] +#![cfg(feature = "blt-backend")] #![cfg_attr(feature = "doc-cfg", doc(cfg(feature = "blt-backend")))] pub use bear_lib_terminal; diff --git a/cursive/src/backends/crossterm.rs b/cursive/src/backends/crossterm.rs index 51ecc7ef..2aaa61e7 100644 --- a/cursive/src/backends/crossterm.rs +++ b/cursive/src/backends/crossterm.rs @@ -1,7 +1,7 @@ //! Backend using the pure-rust crossplatform crossterm library. //! //! Requires the `crossterm-backend` feature. -#![cfg(feature = "crossterm")] +#![cfg(feature = "crossterm-backend")] #![cfg_attr(feature = "doc-cfg", doc(cfg(feature = "crossterm-backend")))] use std::{ diff --git a/cursive/src/backends/termion.rs b/cursive/src/backends/termion.rs index b2d80e4d..64aaf5b7 100644 --- a/cursive/src/backends/termion.rs +++ b/cursive/src/backends/termion.rs @@ -1,7 +1,7 @@ //! Backend using the pure-rust termion library. //! //! Requires the `termion-backend` feature. -#![cfg(feature = "termion")] +#![cfg(feature = "termion-backend")] #![cfg_attr(feature = "doc-cfg", doc(cfg(feature = "termion-backend")))] pub use termion;