From 3f0332b0ec00f3e0194bc7f9580b0399f429f0b4 Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Sun, 16 Feb 2020 22:27:52 +0900 Subject: [PATCH] Use git master branch of unicode-segmentation for now. It includes some nice not-yet-released optimizations. --- Cargo.lock | 9 +++++++-- Cargo.toml | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 58c0e8c..91b5df0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,7 +11,7 @@ dependencies = [ "ropey", "smallvec 1.2.0", "time", - "unicode-segmentation", + "unicode-segmentation 1.6.0 (git+https://github.com/unicode-rs/unicode-segmentation.git)", "unicode-width", ] @@ -46,7 +46,7 @@ name = "backend" version = "0.1.0" dependencies = [ "ropey", - "unicode-segmentation", + "unicode-segmentation 1.6.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -517,6 +517,11 @@ dependencies = [ "syn", ] +[[package]] +name = "unicode-segmentation" +version = "1.6.0" +source = "git+https://github.com/unicode-rs/unicode-segmentation.git#fbba2a660b38dad86eebcd7fe73138c5cbfb9469" + [[package]] name = "unicode-segmentation" version = "1.6.0" diff --git a/Cargo.toml b/Cargo.toml index a862328..fc5cccb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,8 @@ debug = true [dependencies] ropey = "1" # ropey = { git = "https://github.com/cessen/ropey", branch = "master" } -unicode-segmentation = "1" +# unicode-segmentation = "1" +unicode-segmentation = { git = "https://github.com/unicode-rs/unicode-segmentation.git", branch = "master" } unicode-width = "0.1" clap = "2" smallvec = "1"