Skip to content

Commit

Permalink
Bump crossterm to 0.28.1
Browse files Browse the repository at this point in the history
  • Loading branch information
gyscos committed Aug 1, 2024
1 parent 20a1ef4 commit d02ec82
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions cursive-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
12 changes: 6 additions & 6 deletions cursive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cursive/src/backends/blt.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion cursive/src/backends/crossterm.rs
Original file line number Diff line number Diff line change
@@ -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::{
Expand Down
2 changes: 1 addition & 1 deletion cursive/src/backends/termion.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit d02ec82

Please sign in to comment.