mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Bump enumset and remove unused import
This commit is contained in:
parent
f06bc2e1cd
commit
efc7b3144b
@ -22,7 +22,7 @@ repository = "gyscos/cursive"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
enum-map = "0.6"
|
enum-map = "0.6"
|
||||||
enumset = "1.0.3"
|
enumset = "1.0.4"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
owning_ref = "0.4"
|
owning_ref = "0.4"
|
||||||
syn = "1.0"
|
syn = "1.0"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use enumset::{EnumSet, EnumSetType};
|
use enumset::EnumSetType;
|
||||||
|
|
||||||
/// Text effect
|
/// Text effect
|
||||||
#[allow(clippy::derive_hash_xor_eq)] // We do derive it through EnumSetType
|
#[allow(clippy::derive_hash_xor_eq)] // We do derive it through EnumSetType
|
||||||
|
@ -18,7 +18,6 @@ features = ["unstable_scroll", "markdown", "toml"]
|
|||||||
cursive_core = { path = "../cursive-core", version= "0.2.2"}
|
cursive_core = { path = "../cursive-core", version= "0.2.2"}
|
||||||
crossbeam-channel = "0.5"
|
crossbeam-channel = "0.5"
|
||||||
cfg-if = "1"
|
cfg-if = "1"
|
||||||
enumset = "1.0.3"
|
|
||||||
unicode-segmentation = "1"
|
unicode-segmentation = "1"
|
||||||
unicode-width = "0.1"
|
unicode-width = "0.1"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
//! Structs representing output of puppet backend
|
//! Structs representing output of puppet backend
|
||||||
|
use crate::enumset::EnumSet;
|
||||||
use crate::theme::ColorPair;
|
use crate::theme::ColorPair;
|
||||||
use crate::theme::Effect;
|
use crate::theme::Effect;
|
||||||
use crate::Vec2;
|
use crate::Vec2;
|
||||||
use enumset::EnumSet;
|
|
||||||
use std::ops::Index;
|
use std::ops::Index;
|
||||||
use std::ops::IndexMut;
|
use std::ops::IndexMut;
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
/// Some default values to Puppet backend.
|
/// Some default values to Puppet backend.
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
|
|
||||||
|
use crate::enumset::EnumSet;
|
||||||
use crate::theme::ColorPair;
|
use crate::theme::ColorPair;
|
||||||
use crate::theme::{Color, Effect};
|
use crate::theme::{Color, Effect};
|
||||||
use crate::Vec2;
|
use crate::Vec2;
|
||||||
use crate::XY;
|
use crate::XY;
|
||||||
use enumset::EnumSet;
|
|
||||||
|
|
||||||
use crate::backends::puppet::observed::*;
|
use crate::backends::puppet::observed::*;
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
//! [`cursive::theme`]: ./theme/index.html
|
//! [`cursive::theme`]: ./theme/index.html
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
|
|
||||||
pub use enumset;
|
pub use cursive_core::enumset;
|
||||||
|
|
||||||
pub use cursive_core::*;
|
pub use cursive_core::*;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user