-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
119 lines (99 loc) · 2.81 KB
/
Copy pathCargo.toml
File metadata and controls
119 lines (99 loc) · 2.81 KB
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
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.3.0"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/epistates/gravityfile"
keywords = ["disk", "usage", "analyzer", "tui", "cli"]
categories = ["command-line-utilities", "filesystem"]
[workspace.dependencies]
# Core
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
color-eyre = "0.6"
compact_str = { version = "0.9", features = ["serde"] }
# Scanning
jwalk = "0.8"
rayon = "1.12"
dashmap = "6"
# Hashing
blake3 = { version = "1", features = ["rayon", "mmap"] }
# Async (minimal features for smaller binary)
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time", "macros"] }
tokio-stream = "0.1"
tokio-util = { version = "0.7", features = ["full"] }
# TUI
ratatui = { version = "0.30", features = ["crossterm_0_29"] }
crossterm = "0.29"
# CLI
clap = { version = "4", features = ["derive"] }
# Utilities
humansize = "2"
chrono = { version = "0.4", default-features = false, features = ["std", "serde", "clock"] }
strum = { version = "0.28", features = ["derive"] }
itertools = "0.14"
derive_builder = "0.20"
tempfile = "3"
# Internal crates
gravityfile-core = { version = "0.3.0", path = "crates/gravityfile-core" }
gravityfile-scan = { version = "0.3.0", path = "crates/gravityfile-scan" }
gravityfile-analyze = { version = "0.3.0", path = "crates/gravityfile-analyze" }
gravityfile-ops = { version = "0.3.0", path = "crates/gravityfile-ops" }
gravityfile-plugin = { version = "0.3.0", path = "crates/gravityfile-plugin" }
gravityfile-tui = { version = "0.3.0", path = "crates/gravityfile-tui" }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Collections
indexmap = "2"
# Glob patterns
globset = "0.4"
# File operations
fs_extra = "1.3"
trash = "5"
# Archive support
zip = "8"
tar = "0.4"
flate2 = "1"
xz2 = "0.1"
bzip2 = "0.6"
# Git integration
git2 = { version = "0.20", default-features = false }
[package]
name = "gravityfile"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
description = "A state-of-the-art file system analyzer with TUI"
autobins = false
[[bin]]
name = "grav"
path = "src/main.rs"
[[bin]]
name = "gravityfile"
path = "src/main.rs"
[dependencies]
gravityfile-core.workspace = true
gravityfile-scan.workspace = true
gravityfile-analyze.workspace = true
gravityfile-tui.workspace = true
clap.workspace = true
color-eyre.workspace = true
tokio.workspace = true
tokio-util = { workspace = true }
humansize.workspace = true
serde_json.workspace = true
tracing-subscriber = { workspace = true }
tracing = { workspace = true }
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
opt-level = 3