-
-
Notifications
You must be signed in to change notification settings - Fork 217
/
Cargo.toml
164 lines (149 loc) · 3.55 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# SPDX-FileCopyrightText: 2024 Christina Sørensen
# SPDX-License-Identifier: EUPL-1.2
[package]
name = "eza"
description = "A modern replacement for ls"
authors = ["Christina Sørensen <[email protected]>"]
categories = ["command-line-utilities"]
edition = "2021"
rust-version = "1.70.0"
exclude = [
"/docs/",
"/devtools/",
"/snap/",
"/tests/",
"/.config/",
"/.github/",
"/deb.asc",
"/deny.toml",
"/flake.*",
"/justfile",
"/powertest.yaml",
"/rust-toolchain.toml",
"/.envrc",
"/.gitignore",
"/.git-blame-ignore-revs",
"/.pre-commit-config-non-nix.yaml",
]
readme = "README.md"
homepage = "https://github.com/eza-community/eza"
license = "EUPL-1.2"
repository = "https://github.com/eza-community/eza"
version = "0.20.7"
[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]
rayon = "1.10.0"
chrono = { version = "0.4.34", default-features = false, features = ["clock"] }
nu-ansi-term = { version = "0.50.1", features = [
"serde",
"derive_serde_style",
] }
glob = "0.3"
libc = "0.2"
locale = "0.2"
log = "0.4"
natord = "1.0"
path-clean = "1.0.1"
number_prefix = "0.4"
palette = { version = "0.7.5", default-features = false, features = ["std"] }
once_cell = "1.20.2"
percent-encoding = "2.3.1"
phf = { version = "0.11.2", features = ["macros"] }
plist = { version = "1.7.0", default-features = false }
uutils_term_grid = "0.6.0"
terminal_size = "0.3.0"
timeago = { version = "0.4.2", default-features = false }
unicode-width = "0.2"
zoneinfo_compiled = "0.5.1"
ansi-width = "0.1.0"
serde = { version = "1.0.214", features = ["derive"] }
dirs = "5.0.1"
serde_norway = "0.9"
backtrace = "0.3"
[dependencies.git2]
version = "0.19"
optional = true
default-features = false
[target.'cfg(target_os = "linux")'.dependencies]
proc-mounts = "0.3"
[target.'cfg(unix)'.dependencies]
uzers = "0.12.1"
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.59.0", features = [
"Win32_System_Console",
"Win32_Foundation",
] }
[build-dependencies]
chrono = { version = "0.4.34", default-features = false, features = ["clock"] }
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
trycmd = "0.15"
[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 = []
# Should only be used inside of flake.nix
# Shouldn't ever be used in CI (slow!)
powertest = []
nix-generated = []
# use LTO for smaller binaries (that take longer to build)
[profile.release]
lto = true
strip = true
opt-level = 3
codegen-units = 1
panic = 'abort'
[[bench]]
name = "my_benchmark"
harness = false