summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-02-19 17:44:04 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-02-19 17:44:04 -0500
commit62236475a38193e8b8e8876a4221b89fc021cbbf (patch)
tree5e96d5c450815257958e74ba96b63ec808fc2eb8
parent0be734a6d7154573d8e570980f0af27ac5cb8190 (diff)
temporary fix for unicode on rust 1.32
-rw-r--r--Cargo.lock6
-rw-r--r--Cargo.toml4
2 files changed, 6 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 072b28d..23e8aa4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -78,7 +78,7 @@ dependencies = [
"libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
"mime 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)",
"mime-detective 0.2.2 (git+https://github.com/cjbassi/mime-detective?branch=arch-linux)",
- "ncurses 5.98.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "ncurses 5.98.0 (git+https://github.com/simmons/ncurses-rs)",
"open 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.86 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.86 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -138,7 +138,7 @@ dependencies = [
[[package]]
name = "ncurses"
version = "5.98.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
+source = "git+https://github.com/simmons/ncurses-rs#21e9b68da86703a34a4c308f6f219476e3496c33"
dependencies = [
"cc 1.0.28 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -376,7 +376,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum magic-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "17442cc60e34d501588c95bc976da04b6a87c51ab02370e95e1c2893a52df16c"
"checksum mime 0.3.13 (registry+https://github.com/rust-lang/crates.io-index)" = "3e27ca21f40a310bd06d9031785f4801710d566c184a6e15bad4f1d9b65f9425"
"checksum mime-detective 0.2.2 (git+https://github.com/cjbassi/mime-detective?branch=arch-linux)" = "<none>"
-"checksum ncurses 5.98.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9ddf9a2b0b4526dc8c5a57c859b0f4415b7b3258c487aaa11e07fbde2877744d"
+"checksum ncurses 5.98.0 (git+https://github.com/simmons/ncurses-rs)" = "<none>"
"checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea"
"checksum num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1"
"checksum open 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "eedfa0ca7b54d84d948bfd058b8f82e767d11f362dd78c36866fd1f69c175867"
diff --git a/Cargo.toml b/Cargo.toml
index 2010a56..566c1e7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,6 +5,7 @@ authors = ["Jiayi Zhao <jeff.no.zhao@gmail.com>"]
description = "Terminal file manager inspired by ranger"
homepage = "https://github.com/kamiyaa/joshuto"
license = "LGPL-3"
+edition = "2018"
[dependencies]
chrono = "0.4.6"
@@ -35,7 +36,8 @@ xdg = "2.2.0"
# xdg = "*"
[dependencies.ncurses]
-version = "5.98.0"
+git = "https://github.com/simmons/ncurses-rs"
+# version = "5.98.0"
features = [ "extended_colors", "panel", "wide" ]
[dependencies.wordexp]