-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
141 lines (134 loc) · 4.13 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
[package]
name = "httm"
authors = ["Robert Swinford <robert.swinford <...at...> gmail.com>"]
version = "0.44.0"
edition = "2021"
keywords = ["zfs", "backup", "restore", "cli-utility", "snapshot"]
description = "A CLI tool for viewing snapshot file versions on ZFS and btrfs datasets"
repository = "https://github.com/kimono-koans/httm"
readme = "README.md"
categories = ["command-line-utilities", "os"]
license = "MPL-2.0"
documentation = "https://github.com/kimono-koans/httm/blob/master/README.md"
[badges]
maintenance = { status = "actively-developed" }
[profile.deb]
lto = true
opt-level = "z"
codegen-units = 1
panic = "abort"
inherits = "release"
[features]
default = ["std"]
std = ["xattrs", "malloc_trim"]
# acls feature - requires libacl1-dev to build
acls = ["exacl"]
xattrs = ["xattr"]
malloc_trim = ["skim/malloc_trim", "libc"]
licensing = ["lms", "itertools"]
[target.'cfg(unix)'.dependencies]
libc = { version = "0.2.168", default-features = false, optional = true }
exacl = { version = "0.12.0", default-features = false, optional = true }
xattr = { version = "1.3.1", default-features = false, optional = true }
[dependencies]
foldhash = { version = "0.1.3", default-features = true }
clap = { version = "4.5.23", default-features = true, features = [
"std",
"cargo",
] }
crossbeam-channel = { version = "0.5.13", default-features = false }
time = { version = "0.3.37", default-features = false, features = [
"formatting",
"local-offset",
] }
number_prefix = { version = "0.4.0", default-features = false }
skim = { version = "0.12.3", default-features = false, package = "two_percent" }
nu-ansi-term = { version = "0.50.1", default-features = false }
lscolors = { version = "0.20.0", default-features = false, features = [
"nu-ansi-term",
] }
terminal_size = { version = "0.4.1", default-features = false }
which = { version = "7.0.0", default-features = false }
rayon = { version = "1.10.0", default-features = false }
indicatif = { version = "0.17.9", default-features = false }
proc-mounts = { version = "0.3.0", default-features = false }
hashbrown = { version = "0.15.2", default-features = false, features = [
"rayon",
"inline-more",
"default-hasher",
] }
nix = { version = "0.29.0", default-features = false, features = [
"fs",
"user",
"zerocopy",
] }
serde = { version = "1.0.215", default-features = false }
serde_json = { version = "1.0.133", default-features = false, features = [
"preserve_order",
] }
realpath-ext = { version = "0.1.3", default-features = false, features = [
"std",
] }
# these are strictly not required to build, only included for attribution sake (to be picked up by cargo_about)
lms = { version = "0.4.0", default-features = false, optional = true }
itertools = { version = "0.13.0", default-features = false, optional = true }
[package.metadata.deb]
maintainer = "kimono koans <https://github.com/kimono-koans/>"
copyright = "2024, Robert Swinford <robert.swinford<...at...>gmail.com>"
extended-description = """\
Prints the size, date and corresponding locations of available unique versions of files \
residing on snapshots. May also be used interactively to select and restore from such \
versions, and even to snapshot datasets which contain certain files.
"""
license-file = ["LICENSE", "4"]
depends = ["libc6"]
section = "utility"
priority = "optional"
features = ["xattrs", "malloc_trim"]
assets = [
[
"target/release/httm",
"usr/bin/",
"755",
],
[
"scripts/ounce.bash",
"usr/bin/ounce",
"755",
],
[
"scripts/bowie.bash",
"usr/bin/bowie",
"755",
],
[
"scripts/nicotine.bash",
"usr/bin/nicotine",
"755",
],
[
"scripts/equine.bash",
"usr/bin/equine",
"755",
],
[
"httm.1",
"usr/share/man/man1/httm.1",
"644",
],
[
"README.md",
"usr/share/doc/httm/README.md",
"644",
],
[
"LICENSE",
"usr/share/doc/httm/LICENSE",
"644",
],
[
"third_party/LICENSES_THIRD_PARTY.html",
"usr/share/doc/httm/LICENSES_THIRD_PARTY.html",
"644",
],
]