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]
|
||||
enum-map = "0.6"
|
||||
enumset = "1.0.3"
|
||||
enumset = "1.0.4"
|
||||
log = "0.4"
|
||||
owning_ref = "0.4"
|
||||
syn = "1.0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
use enumset::{EnumSet, EnumSetType};
|
||||
use enumset::EnumSetType;
|
||||
|
||||
/// Text effect
|
||||
#[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"}
|
||||
crossbeam-channel = "0.5"
|
||||
cfg-if = "1"
|
||||
enumset = "1.0.3"
|
||||
unicode-segmentation = "1"
|
||||
unicode-width = "0.1"
|
||||
lazy_static = "1"
|
||||
|
@ -1,8 +1,8 @@
|
||||
//! Structs representing output of puppet backend
|
||||
use crate::enumset::EnumSet;
|
||||
use crate::theme::ColorPair;
|
||||
use crate::theme::Effect;
|
||||
use crate::Vec2;
|
||||
use enumset::EnumSet;
|
||||
use std::ops::Index;
|
||||
use std::ops::IndexMut;
|
||||
use std::rc::Rc;
|
||||
|
@ -1,11 +1,11 @@
|
||||
/// Some default values to Puppet backend.
|
||||
use lazy_static::lazy_static;
|
||||
|
||||
use crate::enumset::EnumSet;
|
||||
use crate::theme::ColorPair;
|
||||
use crate::theme::{Color, Effect};
|
||||
use crate::Vec2;
|
||||
use crate::XY;
|
||||
use enumset::EnumSet;
|
||||
|
||||
use crate::backends::puppet::observed::*;
|
||||
|
||||
|
@ -64,7 +64,7 @@
|
||||
//! [`cursive::theme`]: ./theme/index.html
|
||||
#![deny(missing_docs)]
|
||||
|
||||
pub use enumset;
|
||||
pub use cursive_core::enumset;
|
||||
|
||||
pub use cursive_core::*;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user