diff --git a/Cargo.lock b/Cargo.lock index c35f566f1c..c174c62097 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -186,7 +186,7 @@ dependencies = [ "ssh-key", "tempfile", "thiserror", - "unicode-truncate", + "unicode-truncate 2.0.0", "url", ] @@ -1140,7 +1140,7 @@ dependencies = [ "tui-textarea", "two-face", "unicode-segmentation", - "unicode-truncate", + "unicode-truncate 2.0.0", "unicode-width 0.2.0", "which", ] @@ -2474,7 +2474,7 @@ dependencies = [ "serde", "strum", "unicode-segmentation", - "unicode-truncate", + "unicode-truncate 1.1.0", "unicode-width 0.2.0", ] @@ -3206,6 +3206,17 @@ dependencies = [ "unicode-width 0.1.13", ] +[[package]] +name = "unicode-truncate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fbf03860ff438702f3910ca5f28f8dac63c1c11e7efb5012b8b175493606330" +dependencies = [ + "itertools", + "unicode-segmentation", + "unicode-width 0.2.0", +] + [[package]] name = "unicode-width" version = "0.1.13" diff --git a/Cargo.toml b/Cargo.toml index a1eaa0edbb..b1c7279b33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,7 +60,7 @@ syntect = { version = "5.2", default-features = false, features = [ tui-textarea = "0.7" two-face = { version = "0.4.0", default-features = false } unicode-segmentation = "1.12" -unicode-truncate = "1.0" +unicode-truncate = "2.0" unicode-width = "0.2" which = "7.0" diff --git a/asyncgit/Cargo.toml b/asyncgit/Cargo.toml index 063cf898af..9aede3f50f 100644 --- a/asyncgit/Cargo.toml +++ b/asyncgit/Cargo.toml @@ -34,7 +34,7 @@ scopetime = { path = "../scopetime", version = "0.1" } serde = { version = "1.0", features = ["derive"] } ssh-key = { version = "0.6.7", features = ["crypto", "encryption"] } thiserror = "1.0" -unicode-truncate = "1.0" +unicode-truncate = "2.0" url = "2.5" [dev-dependencies]