0.1.5 - update liner and prepare for publishing

parent 0f82866d
This diff is collapsed.
[package]
name = "redox_pkgutils"
version = "0.1.4"
version = "0.1.5"
description = "Redox Packaging Utilities"
license = "MIT"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
......@@ -19,14 +19,14 @@ path = "src/bin/pkg.rs"
clap = {version = "2.25", default-features = false}
hyper-rustls = "0.6"
libflate = "0.1.4"
liner = "0.4"
redox_liner = "0.5.1"
pbr = "1.0"
serde = "1.0"
serde_derive = "1.0"
sha3 = "0.8.2"
tar = "0.4"
toml = "0.4"
version-compare = "0.0.4"
version-compare = "0.0.10"
petgraph = "0.4.5"
bidir-map = "0.6.0"
ordermap = "0.2.11"
......
......@@ -63,7 +63,11 @@ fn upgrade(repo: Repo) -> io::Result<()> {
let line = liner::Context::new().read_line(
"Do you want to upgrade these packages? (Y/n) ",
&mut |_| {}
None,
&mut liner::BasicCompleter::new(vec![
"yes",
"no"
])
)?;
match line.to_lowercase().as_str() {
"" | "y" | "yes" => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment