summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 3a338bc330d99e4001cde306496c048dfa3bcac6 (plain)
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
[package]
name = "broot"
version = "1.34.0"
authors = ["dystroy <denys.seguret@gmail.com>"]
repository = "https://github.com/Canop/broot"
homepage = "https://dystroy.org/broot"
documentation = "https://dystroy.org/broot"
description = "A new file manager"
edition = "2021"
keywords = ["cli", "fuzzy", "tree", "search", "file"]
license = "MIT"
categories = ["command-line-utilities"]
readme = "README.md"
build = "build.rs"
rust-version = "1.65"
exclude = ["website", "broot*.zip"]

[features]
default = []
clipboard = ["terminal-clipboard"]
kitty-csi-check = ["xterm-query"]

[dependencies]
ahash = { version = "0.8.3", features = ["serde"] }
ansi_colours = "1.2"
base64 = "0.21"
bet = "1.0.2"
char_reader = "0.1"
chrono = "0.4"
clap = { version = "4.4", features = ["derive", "cargo"] }
clap-help = "1.1"
cli-log = "2.0"
crokey = "0.6.3"
crossbeam = "0.8"
custom_error = "1.6"
deser-hjson = "2.2.3"
directories = "4.0"
file-size = "1.0.3"
fnv = "1.0.7"
git2 = { version = "0.14", default-features = false }
glob = "0.3"
id-arena = "2.2.1"
image = "0.24"
include_dir = "0.7"
lazy-regex = "3.1.0"
libc = "0.2"
memmap2 = "0.6"
once_cell = "1.18" # waiting for https://github.com/rust-lang/rust/issues/109736
opener = "0.6"
pathdiff = "0.2"
phf = { version = "0.11", features = ["macros"] }
rayon = "1.8"
resvg = "0.36"
secular = { version = "1.0", features = ["normalization", "bmp"] }
serde = { version = "1.0", features = ["derive"] }
smallvec = "1.11"
splitty = "1.0"
strict = "0.1.4"
syntect = { package = "syntect-no-panic", version = "4.6.1" } # see issue #485
tempfile = "3.2"
termimad = "0.29.0"
terminal-clipboard = { version = "0.4.1", optional = true }
terminal-light = "1.2.0"
toml = "0.8"
trash = "3.1.2"
umask = "2.1.0"
unicode-width = "0.1.10"
which = "4.4.0"
xterm-query = { version = "0.1", optional = true }

[dev-dependencies]
glassbench = "0.4"

[target.'cfg(unix)'.dependencies]
lfs-core = "0.11.0"
uzers = "0.11.3"

[target.'cfg(windows)'.dependencies]
is_executable = "1.0.1"

[build-dependencies]
clap = { version = "4.4", features = ["derive", "cargo"] }
clap_complete = "4.4"
clap_mangen = "0.2.12"

[profile.dev]
debug = false

[profile.release]
debug = false
lto = true
codegen-units = 1 # this removes a few hundred bytes from the final exec size
strip = true

[[bench]]
name = "fuzzy"
harness = false
[[bench]]
name = "toks"
harness = false
[[bench]]
name = "composite"
harness = false
[[bench]]
name = "path_normalization"
harness = false

[patch.crates-io]
# bet = { path = "../bet" }
# cli-log = { path = "../cli-log" }
# crossterm = { path = "../crossterm-rs/crossterm" }
# csv2svg = { path = "../csv2svg" }
# deser-hjson = { path = "../deser-hjson" }
# glassbench = { path = "../glassbench" }
# lfs-core = { path = "../lfs-core" }
# minimad = { path = "../minimad" }
# secular = { path = "../secular", features=["normalization"] }
# syntect = { path = "../syntect" }
# syntect-no-panic = { path = "../syntect" }
# termimad = { path = "../termimad" }
# terminal-clipboard = { path = "../terminal-clipboard" }
# terminal-light = { path = "../terminal-light" }
# umask = { path = "../umask" }
# clap-help = { path = "../clap-help" }
# crokey = { path = "../crokey" }
# lazy-regex = { path = "../lazy-regex" }
# lazy-regex-proc_macros = { path = "../lazy-regex/src/proc_macros" }
# strict = { path = "../strict" }