2014-06-28 16:24:20 +00:00
|
|
|
[package]
|
|
|
|
name = "exa"
|
2017-07-07 10:55:55 +00:00
|
|
|
description = "A modern replacement for ls"
|
|
|
|
|
2021-04-03 16:41:54 +00:00
|
|
|
authors = ["Benjamin Sago <ogham@bsago.me>"]
|
2017-07-07 10:55:55 +00:00
|
|
|
categories = ["command-line-utilities"]
|
2021-04-03 16:41:54 +00:00
|
|
|
edition = "2018"
|
Replace Makefile with a developmental Justfile
This commit deletes the Makefile, which contained targets to build exa and install it on the local machine, and replaces it with a Justfile, which only contains command to build and test exa.
My reasoning for doing this is as follows:
• exa is increasingly being installed through package managers, rather than built and tested locally, so users are avoiding using the Makefile at all.
• It was a pain to keep up with the correct paths for installing the binary, man pages, and completions, which can vary between OSes. By removing them, the code in this repository need only concern itself with building exa and putting its files in the 'target' directory, simplifying things.
• just is much simpler than make conceptually, which is why I prefer it. It just runs commands, rather than being a complete build system, which we already use Cargo for.
• just has features built-in, such as listing tasks, that we've had to create make targets for.
• exa only needed a Makefile at all because it pre-dates Cargo!
• Other Rust projects seem to be getting along perfectly fine without one.
If I've missed some important reason that makes it worth keeping the Makefile around then please let me know.
2020-10-09 23:47:17 +00:00
|
|
|
exclude = ["/devtools/*", "/Justfile", "/Vagrantfile", "/screenshots.png"]
|
2021-04-03 16:41:54 +00:00
|
|
|
homepage = "https://the.exa.website/"
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/ogham/exa"
|
2021-04-12 21:28:31 +00:00
|
|
|
version = "0.10.1"
|
2017-07-07 10:55:55 +00:00
|
|
|
|
|
|
|
|
2014-06-28 16:24:20 +00:00
|
|
|
[[bin]]
|
2014-07-01 18:00:36 +00:00
|
|
|
name = "exa"
|
2016-04-19 06:48:41 +00:00
|
|
|
|
|
|
|
|
2015-01-12 00:20:28 +00:00
|
|
|
[dependencies]
|
2020-10-10 01:14:35 +00:00
|
|
|
ansi_term = "0.12"
|
|
|
|
glob = "0.3"
|
|
|
|
lazy_static = "1.3"
|
|
|
|
libc = "0.2"
|
|
|
|
locale = "0.2"
|
|
|
|
log = "0.4"
|
|
|
|
natord = "1.0"
|
|
|
|
num_cpus = "1.10"
|
|
|
|
number_prefix = "0.4"
|
|
|
|
scoped_threadpool = "0.1"
|
|
|
|
term_grid = "0.1"
|
|
|
|
term_size = "0.3"
|
|
|
|
unicode-width = "0.1"
|
2021-04-01 15:58:01 +00:00
|
|
|
zoneinfo_compiled = "0.5.1"
|
2015-01-27 15:01:17 +00:00
|
|
|
|
2020-05-02 04:15:50 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2021-03-26 08:37:17 +00:00
|
|
|
users = "0.11"
|
|
|
|
|
2021-04-01 15:58:01 +00:00
|
|
|
[dependencies.datetime]
|
|
|
|
version = "0.5.2"
|
|
|
|
default-features = false
|
|
|
|
features = ["format"]
|
2015-01-27 15:01:17 +00:00
|
|
|
|
2019-04-17 05:53:42 +00:00
|
|
|
[dependencies.git2]
|
2020-10-10 01:14:35 +00:00
|
|
|
version = "0.13"
|
2019-04-17 05:53:42 +00:00
|
|
|
optional = true
|
|
|
|
default-features = false
|
|
|
|
|
2021-04-01 15:58:01 +00:00
|
|
|
[build-dependencies.datetime]
|
|
|
|
version = "0.5.2"
|
|
|
|
default-features = false
|
2015-01-27 15:01:17 +00:00
|
|
|
|
|
|
|
[features]
|
2015-01-27 15:59:22 +00:00
|
|
|
default = [ "git" ]
|
2015-01-27 15:01:17 +00:00
|
|
|
git = [ "git2" ]
|
2019-01-06 11:37:43 +00:00
|
|
|
vendored-openssl = ["git2/vendored-openssl"]
|
2015-01-27 15:01:17 +00:00
|
|
|
|
2021-04-01 09:30:21 +00:00
|
|
|
|
|
|
|
# make dev builds faster by excluding debug symbols
|
|
|
|
[profile.dev]
|
2015-02-23 01:05:21 +00:00
|
|
|
debug = false
|
2021-04-01 09:30:21 +00:00
|
|
|
|
|
|
|
# use LTO for smaller binaries (that take longer to build)
|
|
|
|
[profile.release]
|
2015-02-23 01:05:21 +00:00
|
|
|
lto = true
|
|
|
|
|
2017-08-04 14:19:35 +00:00
|
|
|
|
|
|
|
[package.metadata.deb]
|
|
|
|
license-file = [ "LICENCE" ]
|
|
|
|
depends = "$auto"
|
|
|
|
extended-description = """
|
|
|
|
exa is a replacement for ls written in Rust.
|
|
|
|
"""
|
|
|
|
section = "utils"
|
|
|
|
priority = "optional"
|
|
|
|
assets = [
|
|
|
|
[ "target/release/exa", "/usr/bin/exa", "0755" ],
|
|
|
|
[ "contrib/man/exa.1", "/usr/share/man/man1/exa.1", "0644" ],
|
|
|
|
[ "contrib/completions.bash", "/etc/bash_completion.d/exa", "0644" ],
|
|
|
|
]
|