exa/Cargo.lock

349 lines
11 KiB
Plaintext
Raw Normal View History

[root]
name = "exa"
2015-10-18 19:34:46 +00:00
version = "0.4.0"
dependencies = [
2016-03-13 15:12:33 +00:00
"ansi_term 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
2015-02-21 22:59:38 +00:00
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"datetime 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
2015-09-02 22:23:23 +00:00
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
2016-01-22 02:11:34 +00:00
"git2 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"locale 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"natord 1.0.9 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"num_cpus 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
2015-12-15 21:38:56 +00:00
"number_prefix 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"scoped_threadpool 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
2015-12-15 21:38:56 +00:00
"term_grid 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"unicode-width 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"users 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
2016-02-10 19:02:20 +00:00
"zoneinfo_compiled 0.2.1 (git+https://github.com/rust-datetime/zoneinfo-compiled.git)",
"zoneinfo_data 0.1.0 (git+https://github.com/rust-datetime/zoneinfo-data.git)",
2015-08-25 17:25:48 +00:00
]
[[package]]
name = "ansi_term"
2016-03-13 15:12:33 +00:00
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "bitflags"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2016-02-10 19:02:20 +00:00
[[package]]
name = "byteorder"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2015-08-25 17:25:48 +00:00
[[package]]
name = "cmake"
2016-03-13 15:12:33 +00:00
version = "0.1.16"
2015-08-25 17:25:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-31 19:48:44 +00:00
"gcc 0.3.26 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
]
[[package]]
name = "datetime"
2016-03-13 15:12:33 +00:00
version = "0.4.3"
2015-06-05 02:04:56 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"iso8601 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"locale 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"num 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)",
"pad 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "gcc"
2016-03-31 19:48:44 +00:00
version = "0.3.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
2016-01-22 02:11:34 +00:00
[[package]]
name = "gdi32-sys"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"winapi 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
2016-01-22 02:11:34 +00:00
]
[[package]]
name = "getopts"
2015-09-02 22:23:23 +00:00
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "git2"
2016-01-22 02:11:34 +00:00
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"libgit2-sys 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
2015-11-18 18:32:40 +00:00
"url 0.2.38 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "iso8601"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-13 15:12:33 +00:00
"nom 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
2015-12-15 21:38:56 +00:00
]
[[package]]
name = "lazy_static"
version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "libc"
2016-03-31 19:48:44 +00:00
version = "0.2.9"
2015-11-04 17:01:05 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "libgit2-sys"
2016-03-13 15:12:33 +00:00
version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-13 15:12:33 +00:00
"cmake 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-31 19:48:44 +00:00
"gcc 0.3.26 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
"libssh2-sys 0.1.37 (registry+https://github.com/rust-lang/crates.io-index)",
"libz-sys 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl-sys 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "libressl-pnacl-sys"
version = "2.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"pnacl-build-helper 1.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "libssh2-sys"
2016-03-31 19:48:44 +00:00
version = "0.1.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-13 15:12:33 +00:00
"cmake 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
"libz-sys 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl-sys 0.7.8 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "libz-sys"
2016-03-31 19:48:44 +00:00
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-31 19:48:44 +00:00
"gcc 0.3.26 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "locale"
2016-03-13 15:12:33 +00:00
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"num 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "matches"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "natord"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "nom"
2016-03-13 15:12:33 +00:00
version = "1.2.2"
2015-01-12 00:20:28 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "num"
2016-03-13 15:12:33 +00:00
version = "0.1.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-13 15:12:33 +00:00
"rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
2016-02-10 19:02:20 +00:00
"rustc-serialize 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "num_cpus"
2016-03-13 15:12:33 +00:00
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "number_prefix"
2015-12-15 21:38:56 +00:00
version = "0.2.5"
2015-01-12 00:20:28 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-13 15:12:33 +00:00
"num 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "openssl-sys"
2016-03-31 19:48:44 +00:00
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-01-22 02:11:34 +00:00
"gdi32-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
"libressl-pnacl-sys 2.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"pkg-config 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
2016-01-22 02:11:34 +00:00
"user32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "pad"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"unicode-width 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
2016-03-13 15:12:33 +00:00
[[package]]
name = "phf"
2016-03-31 19:48:44 +00:00
version = "0.7.14"
2016-03-13 15:12:33 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-31 19:48:44 +00:00
"phf_shared 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
]
[[package]]
name = "phf_shared"
2016-03-31 19:48:44 +00:00
version = "0.7.14"
2016-03-13 15:12:33 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "pkg-config"
2016-03-13 15:12:33 +00:00
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "pnacl-build-helper"
2015-08-25 17:25:48 +00:00
version = "1.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"tempdir 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand"
2016-03-13 15:12:33 +00:00
version = "0.3.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rustc-serialize"
2016-02-10 19:02:20 +00:00
version = "0.3.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
Parallelise the details view! This commit removes the threadpool in `main.rs` that stats each command-line argument separately, and replaces it with a *scoped* threadpool in `options/details.rs` that builds the table in parallel! Running this on my machine halves the execution time when tree-ing my entire home directory (which isn't exactly a common occurrence, but it's the only way to give exa a large running time) The statting will be added back in parallel at a later stage. This was facilitated by the previous changes to recursion that made it easier to deal with. There's a lot of large sweeping architectural changes. Here's a smattering of them: - In `main.rs`, the files are now passed around as vectors of files rather than array slices of files. This is because `File`s aren't `Clone`, and the `Vec` is necessary to give away ownership of the files at the appropriate point. - In the details view, files are now sorted *all* the time, rather than obeying the command-line order. As they're run in parallel, they have no guaranteed order anyway, so we *have* to sort them again. (I'm not sure if this should be the intended behaviour or not!) This means that the `Details` struct has to have the filter *all* the time, not only while recursing, so it's been moved out of the `recurse` field. - We use `scoped_threadpool` over `threadpool`, a recent addition. It's only safely used on Nightly, which we're using anyway, so that's OK! - Removed a bunch of out-of-date comments. This also fixes #77, mainly by accident :)
2015-09-02 22:19:10 +00:00
[[package]]
name = "scoped_threadpool"
2016-03-13 15:12:33 +00:00
version = "0.1.7"
Parallelise the details view! This commit removes the threadpool in `main.rs` that stats each command-line argument separately, and replaces it with a *scoped* threadpool in `options/details.rs` that builds the table in parallel! Running this on my machine halves the execution time when tree-ing my entire home directory (which isn't exactly a common occurrence, but it's the only way to give exa a large running time) The statting will be added back in parallel at a later stage. This was facilitated by the previous changes to recursion that made it easier to deal with. There's a lot of large sweeping architectural changes. Here's a smattering of them: - In `main.rs`, the files are now passed around as vectors of files rather than array slices of files. This is because `File`s aren't `Clone`, and the `Vec` is necessary to give away ownership of the files at the appropriate point. - In the details view, files are now sorted *all* the time, rather than obeying the command-line order. As they're run in parallel, they have no guaranteed order anyway, so we *have* to sort them again. (I'm not sure if this should be the intended behaviour or not!) This means that the `Details` struct has to have the filter *all* the time, not only while recursing, so it's been moved out of the `recurse` field. - We use `scoped_threadpool` over `threadpool`, a recent addition. It's only safely used on Nightly, which we're using anyway, so that's OK! - Removed a bunch of out-of-date comments. This also fixes #77, mainly by accident :)
2015-09-02 22:19:10 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "tempdir"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-13 15:12:33 +00:00
"rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "term_grid"
2015-12-15 21:38:56 +00:00
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"unicode-width 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "unicode-width"
2015-08-25 17:25:48 +00:00
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "url"
2015-11-18 18:32:40 +00:00
version = "0.2.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
2016-02-10 19:02:20 +00:00
"rustc-serialize 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)",
2015-11-18 18:32:40 +00:00
"uuid 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)",
]
2016-01-22 02:11:34 +00:00
[[package]]
name = "user32-sys"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"winapi 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
2016-01-22 02:11:34 +00:00
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "users"
version = "0.5.1"
2015-01-12 00:20:28 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-31 19:48:44 +00:00
"libc 0.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
]
2015-11-18 18:32:40 +00:00
[[package]]
name = "uuid"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2016-03-13 15:12:33 +00:00
"rand 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
2016-02-10 19:02:20 +00:00
"rustc-serialize 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)",
2015-11-18 18:32:40 +00:00
]
2015-08-25 17:25:48 +00:00
[[package]]
name = "winapi"
version = "0.2.6"
2015-08-25 17:25:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "winapi-build"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2016-02-10 19:02:20 +00:00
[[package]]
name = "zoneinfo_compiled"
version = "0.2.1"
source = "git+https://github.com/rust-datetime/zoneinfo-compiled.git#f56921ea5e9f7cf065b1480ff270a1757c1f742f"
2016-02-10 19:02:20 +00:00
dependencies = [
"byteorder 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-13 15:12:33 +00:00
"datetime 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
2016-02-10 19:02:20 +00:00
]
[[package]]
name = "zoneinfo_data"
version = "0.1.0"
2016-03-13 15:12:33 +00:00
source = "git+https://github.com/rust-datetime/zoneinfo-data.git#6807bb6be1a444f8133dd62c3af5d1dcffb46bee"
dependencies = [
2016-03-13 15:12:33 +00:00
"datetime 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
"locale 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
2016-03-31 19:48:44 +00:00
"phf 0.7.14 (registry+https://github.com/rust-lang/crates.io-index)",
]