exa/Cargo.lock

338 lines
10 KiB
Plaintext
Raw Normal View History

[root]
name = "exa"
2015-06-05 03:00:38 +00:00
version = "0.3.0"
dependencies = [
"ansi_term 0.5.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)",
"datetime 0.4.1 (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)",
2015-09-15 19:04:21 +00:00
"git2 0.3.1 (git+https://github.com/alexcrichton/git2-rs.git)",
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"locale 0.1.8 (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)",
"num_cpus 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
"number_prefix 0.2.4 (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
"scoped_threadpool 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"term_grid 0.1.2 (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.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "advapi32-sys"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "aho-corasick"
2015-09-02 22:23:23 +00:00
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-09-02 22:23:23 +00:00
"memchr 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "ansi_term"
version = "0.5.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"
[[package]]
name = "byteorder"
2015-09-02 22:23:23 +00:00
version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
2015-08-25 17:25:48 +00:00
[[package]]
name = "cmake"
2015-09-02 22:23:23 +00:00
version = "0.1.4"
2015-08-25 17:25:48 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"gcc 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
]
[[package]]
name = "datetime"
version = "0.4.1"
2015-06-05 02:04:56 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"locale 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)",
"pad 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
"regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
2015-09-02 22:23:23 +00:00
"tz 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "gcc"
version = "0.3.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
2015-08-25 17:25:48 +00:00
dependencies = [
"advapi32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +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"
2015-09-15 19:04:21 +00:00
version = "0.3.1"
source = "git+https://github.com/alexcrichton/git2-rs.git#2c0aa031ff16d4beb36e5def472423b222518fd5"
dependencies = [
"bitflags 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
2015-09-15 19:04:21 +00:00
"libgit2-sys 0.3.4 (git+https://github.com/alexcrichton/git2-rs.git)",
2015-08-25 17:25:48 +00:00
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "libc"
2015-08-25 17:25:48 +00:00
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "libgit2-sys"
2015-09-15 19:04:21 +00:00
version = "0.3.4"
source = "git+https://github.com/alexcrichton/git2-rs.git#2c0aa031ff16d4beb36e5def472423b222518fd5"
dependencies = [
2015-09-02 22:23:23 +00:00
"cmake 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"libssh2-sys 0.1.30 (registry+https://github.com/rust-lang/crates.io-index)",
"libz-sys 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
2015-09-02 22:23:23 +00:00
"openssl-sys 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.5 (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"
2015-08-25 17:25:48 +00:00
version = "0.1.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-09-02 22:23:23 +00:00
"cmake 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"libz-sys 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
2015-09-02 22:23:23 +00:00
"openssl-sys 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "libz-sys"
2015-08-25 17:25:48 +00:00
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"gcc 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "locale"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"num 0.1.27 (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 = "memchr"
2015-09-02 22:23:23 +00:00
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "natord"
2015-08-25 17:25:48 +00:00
version = "1.0.9"
2015-01-12 00:20:28 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "num"
2015-08-25 17:25:48 +00:00
version = "0.1.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-09-02 22:23:23 +00:00
"rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "num_cpus"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "number_prefix"
version = "0.2.4"
2015-01-12 00:20:28 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"num 0.1.27 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "openssl-sys"
2015-09-02 22:23:23 +00:00
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"gcc 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"libressl-pnacl-sys 2.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.5 (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)",
]
[[package]]
name = "pkg-config"
version = "0.3.5"
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"
2015-09-02 22:23:23 +00:00
version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"advapi32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "regex"
version = "0.1.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-09-02 22:23:23 +00:00
"aho-corasick 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
"memchr 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
2015-09-15 19:04:21 +00:00
"regex-syntax 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "regex-syntax"
2015-09-15 19:04:21 +00:00
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "rustc-serialize"
2015-08-25 17:25:48 +00:00
version = "0.3.16"
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 = "rustc_version"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"semver 0.1.20 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "scoped_threadpool"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"rustc_version 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "semver"
version = "0.1.20"
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 = [
2015-09-02 22:23:23 +00:00
"rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "term_grid"
version = "0.1.2"
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 = "tz"
2015-09-02 22:23:23 +00:00
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-09-02 22:23:23 +00:00
"byteorder 0.3.13 (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-08-25 17:25:48 +00:00
version = "0.2.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
2015-08-25 17:25:48 +00:00
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "users"
2015-08-25 17:25:48 +00:00
version = "0.4.3"
2015-01-12 00:20:28 +00:00
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
2015-08-25 17:25:48 +00:00
"libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
]
2015-08-25 17:25:48 +00:00
[[package]]
name = "winapi"
version = "0.2.4"
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"