summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 6dfd7f1fb0f93ffcb725bae7388e35d6a13e9098 (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
[package]
name = "dua-cli"
version = "2.29.0"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
edition = "2021"
repository = "https://github.com/Byron/dua-cli"
readme = "README.md"
description = "A tool to conveniently learn about the disk usage of directories, fast!"
license = "MIT"
include = ["src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md", "!**/tests/*"]

[features]
default = ["tui-crossplatform", "trash-move"]
tui-crossplatform = ["crosstermion/tui-react-crossterm", "tui", "tui-react", "open", "unicode-segmentation", "unicode-width"]

trash-move = ["trash"]

[dependencies]
clap = { version = "4.0.29", features = ["derive"] }
jwalk = "0.8.1"
byte-unit = "4"
atty = "0.2.11"
petgraph = "0.6"
itertools = "0.12.0"
num_cpus = "1.10.0"
filesize = "0.2.0"
anyhow = "1.0.31"
trash = { version = "3.0.0", optional = true, default-features = false, features = ["coinit_apartmentthreaded"] }
chrono = { version = "0.4.31", default-features = false, features = ["std"] }

# 'tui' related
unicode-segmentation = { version = "1.3.0", optional = true }
unicode-width = { version = "0.1.5", optional = true }
crosstermion = { version = "0.14.0", default-features = false, optional = true }
tui = { package = "ratatui", version = "0.26.1", optional = true, default-features = false }
tui-react = { version = "0.23.2", optional = true }
open = { version = "5.0", optional = true }
wild = "2.0.4"
owo-colors = "4.0.0"
human_format = "1.0.3"
once_cell = "1.19"
gix-glob = "0.16.2"
gix-path = "0.10.1"
bstr = "1.8.0"
simplelog = "0.12.1"
log = "0.4.20"
log-panics = { version = "2", features = ["with-backtrace"] }
crossbeam = "0.8"

[[bin]]
name = "dua"
path = "src/main.rs"

[lib]
name = "dua"

[profile.release]
panic = 'abort'
incremental = false
overflow-checks = false
lto = "fat"
#codegen-units = 1
build-override = { opt-level = 3 }

[dev-dependencies]
pretty_assertions = "1.0.0"