mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-23 04:22:06 +00:00
84b01f2064
exa assumed that the COLUMNS environment variable being present always meant that the output was to a terminal, so it should use colours. But because this variable can be overridden, colours were being incorrectly set! The ‘fix’ is to stop trying to be clever while only calculating the terminal width once, and instead just stick it in a lazy_static so it’s usable everywhere.
47 lines
746 B
TOML
47 lines
746 B
TOML
[package]
|
|
name = "exa"
|
|
version = "0.6.0"
|
|
authors = [ "ogham@bsago.me" ]
|
|
|
|
[[bin]]
|
|
name = "exa"
|
|
path = "src/bin/main.rs"
|
|
|
|
[lib]
|
|
name = "exa"
|
|
path = "src/exa.rs"
|
|
|
|
[dependencies]
|
|
ansi_term = "0.8.0"
|
|
datetime = "0.4.3"
|
|
getopts = "0.2.14"
|
|
glob = "0.2"
|
|
lazy_static = "0.2"
|
|
libc = "0.2.9"
|
|
locale = "0.2.1"
|
|
natord = "1.0.7"
|
|
num_cpus = "1.3.0"
|
|
number_prefix = "0.2.3"
|
|
scoped_threadpool = "0.1.*"
|
|
term_grid = "0.1.2"
|
|
unicode-width = "0.1.4"
|
|
users = "0.5.1"
|
|
|
|
[features]
|
|
default = [ "git" ]
|
|
git = [ "git2" ]
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false
|
|
lto = true
|
|
panic = "abort"
|
|
|
|
[dependencies.git2]
|
|
version = "0.6.4"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.zoneinfo_compiled]
|
|
git = "https://github.com/rust-datetime/zoneinfo-compiled.git"
|