mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-25 10:02:48 +03:00
reduce dependencies
This commit is contained in:
parent
f4dc2de961
commit
491fca6926
13
Cargo.lock
generated
13
Cargo.lock
generated
@ -25,7 +25,7 @@ dependencies = [
|
|||||||
"crossbeam-channel",
|
"crossbeam-channel",
|
||||||
"git2",
|
"git2",
|
||||||
"log",
|
"log",
|
||||||
"rayon",
|
"rayon-core",
|
||||||
"scopetime",
|
"scopetime",
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -581,17 +581,6 @@ version = "0.3.17"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677"
|
checksum = "05da548ad6865900e60eaba7f589cc0783590a92e940c26953ff81ddbab2d677"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "rayon"
|
|
||||||
version = "1.3.0"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "db6ce3297f9c85e16621bb8cca38a06779ffc31bb8184e1be4bed2be4678a098"
|
|
||||||
dependencies = [
|
|
||||||
"crossbeam-deque",
|
|
||||||
"either",
|
|
||||||
"rayon-core",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rayon-core"
|
name = "rayon-core"
|
||||||
version = "1.7.0"
|
version = "1.7.0"
|
||||||
|
@ -6,7 +6,7 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
git2 = "0.10"
|
git2 = "0.10"
|
||||||
rayon = "1.3"
|
rayon-core = "1.7"
|
||||||
crossbeam-channel = "0.4"
|
crossbeam-channel = "0.4"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
scopetime = { path = "../scopetime" }
|
scopetime = { path = "../scopetime" }
|
@ -52,7 +52,7 @@ impl AsyncDiff {
|
|||||||
|
|
||||||
let arc_clone = Arc::clone(&self.current);
|
let arc_clone = Arc::clone(&self.current);
|
||||||
let sender = self.sender.clone();
|
let sender = self.sender.clone();
|
||||||
rayon::spawn(move || {
|
rayon_core::spawn(move || {
|
||||||
let res = get_diff(file_path.clone(), stage);
|
let res = get_diff(file_path.clone(), stage);
|
||||||
let mut notify = false;
|
let mut notify = false;
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user