-
Notifications
You must be signed in to change notification settings - Fork 64
/
Cargo.toml
93 lines (78 loc) · 2.02 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
[package]
name = "hunter"
version = "1.3.5"
authors = ["rabite0"]
edition = "2018"
description = "Fast, lag-free terminal file browser"
homepage = "https://github.com/rabite0/hunter"
repository = "https://github.com/rabite0/hunter"
readme = "README.md"
license = "WTFPL"
keywords = ["cli", "terminal", "file"]
categories = ["command-line-utilities"]
default-run = "hunter"
[dependencies]
termion = "1.5"
unicode-width = "0.1.5"
lazy_static = "1"
natord = "1.0.9"
lscolors = { version = "0.6.0", features = [ "ansi_term" ] }
tree_magic_fork = "0.2.2"
rayon = "1.3"
dirs-2 = "1.1.0"
users = "0.8"
chrono = "0.4"
libc = "0.2.51"
failure = "0.1.5"
failure_derive = "0.1.1"
notify = "4.0.14"
parse-ansi = "0.1.6"
signal-notify = "0.1.3"
systemstat = "0.1.5"
mime_guess = "2.0"
async_value = "0.2.7"
osstrtools = "0.2"
pathbuftools = "0.1"
clap = "2.33"
mime = "0.3.13"
base64 = "0.10.1"
strum = "0.15"
strum_macros = "0.15"
rust-ini = "0.13"
derivative = "1.0.3"
itertools = "0.8"
nix = "0.17"
strip-ansi-escapes = "0.1"
crossbeam = "0.7"
parking_lot = "0.10"
image = { version = "0.21.1", optional = true }
gstreamer = { version = "0.14", optional = true }
gstreamer-app = { version = "0.14", optional = true }
gstreamer-player = { version = "0.14", optional = true }
gstreamer-video = { version = "0.14", optional = true }
gstreamer-base = { version = "0.14", optional = true }
sixel-sys = { version="0.3.1" , optional = true }
# Need extra section to avoid conflict with features
[dependencies.sixel-rs]
package = "sixel"
version = "0.3.2"
optional = true
[build-dependencies]
termion = "1.5"
rustc_version = "0.2.3"
[features]
default = ["img", "video", "sixel"]
video = ["gstreamer", "gstreamer-app", "gstreamer-player","gstreamer-video", "gstreamer-base"]
img = ["image"]
sixel = ["sixel-rs", "sixel-sys"]
[[bin]]
name = "hunter"
path = "src/main.rs"
[[bin]]
name = "hunter-media"
path = "src/hunter-media.rs"
required-features = ["img"]
# These options increase performance and generate a smaller binary
[profile.release]
lto = true
codegen-units = 1