diff --git a/Cargo.toml b/Cargo.toml index 0775cc4..e85009f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,22 +16,25 @@ skeptic = "0.6" [dependencies] odds = "0.2" -termion = {version="1.1.1", optional=true} toml = "0.2" unicode-segmentation = "0.1" unicode-width = "0.1" [dependencies.ncurses] features = ["wide"] +optional = true version = "5.82.0" -optional=true + +[dependencies.termion] +optional = true +version = "1.1.1" [dev-dependencies] rand = "0.3" skeptic = "0.6" -[lib] -name = "cursive" - [features] default = ["ncurses"] + +[lib] +name = "cursive"