eza/Cargo.toml
2023-10-13 18:22:23 +08:00

133 lines
2.7 KiB
TOML

[package]
name = "eza"
description = "A modern replacement for ls"
authors = ["Christina Sørensen <christina@cafkafk.com>"]
categories = ["command-line-utilities"]
edition = "2021"
rust-version = "1.70.0"
exclude = [
"/devtools/*",
"/Justfile",
"/Vagrantfile",
"/screenshots.png",
"/tests",
]
readme = "README.md"
homepage = "https://github.com/eza-community/eza"
license = "MIT"
repository = "https://github.com/eza-community/eza"
version = "0.14.2"
[package.metadata.deb]
license-file = ["LICENCE", "4"]
depends = "$auto"
extended-description = """
eza is a modern, maintained replacement for ls
"""
section = "utils"
priority = "optional"
assets = [
[
"target/release/eza",
"/usr/bin/eza",
"0755",
],
[
"target/release/../man/eza.1",
"/usr/share/man/man1/eza.1",
"0644",
],
[
"target/release/../man/eza_colors.5",
"/usr/share/man/man5/eza_colors.5",
"0644",
],
[
"target/release/../man/eza_colors-explanation.5",
"/usr/share/man/man5/eza_colors-explanation.5",
"0644",
],
[
"completions/bash/eza",
"/usr/share/bash-completion/completions/eza",
"0644",
],
[
"completions/zsh/_eza",
"/usr/share/zsh/site-functions/_eza",
"0644",
],
[
"completions/fish/eza.fish",
"/usr/share/fish/vendor_completions.d/eza.fish",
"0644",
],
]
[[bin]]
name = "eza"
[dependencies]
ansiterm = "0.12.2"
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
glob = "0.3"
lazy_static = "1.3"
libc = "0.2"
locale = "0.2"
log = "0.4"
natord = "1.0"
num_cpus = "1.16"
number_prefix = "0.4"
percent-encoding = "2.3.0"
phf = { version = "0.11.2", features = ["macros"] }
scoped_threadpool = "0.1"
term_grid = "0.1"
terminal_size = "0.3.0"
timeago = { version = "0.4.2", default-features = false }
unicode-width = "0.1"
zoneinfo_compiled = "0.5.1"
[dependencies.git2]
version = "0.18"
optional = true
default-features = false
[target.'cfg(target_os = "linux")'.dependencies]
proc-mounts = "0.3"
[target.'cfg(unix)'.dependencies]
uzers = "0.11.3"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = "0.48.0"
[build-dependencies]
chrono = { version = "0.4.31", default-features = false, features = ["clock"] }
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
trycmd = "0.14"
[features]
default = ["git"]
git = ["git2"]
vendored-openssl = ["git2/vendored-openssl"]
vendored-libgit2 = ["git2/vendored-libgit2"]
# Should only be used inside of flake.nix
nix = []
# Should only be used inside of flake.nix locally (not on CI)
nix-local = []
# use LTO for smaller binaries (that take longer to build)
[profile.release]
lto = true
strip = true
opt-level = 3
codegen-units = 1
[[bench]]
name = "my_benchmark"
harness = false