summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 05d37403a49ac524ad904bdededfdb9d5fc5b9ec (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
cargo-features = ["default-run"]

[package]
name = "hunter"
version = "1.3.4"
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.1"
unicode-width = "0.1.5"
lazy_static = "0.2.11"
alphanumeric-sort = "1.0.6"
lscolors = { version = "0.5.0", features = [ "ansi_term" ]  }
tree_magic = "0.2.1"
rayon = "1.0.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.12"
parse-ansi = "0.1.6"
signal-notify = "0.1.3"
systemstat = "0.1.4"
mime_guess = "2.0.0-alpha.6"
async_value = "0.2"
osstrtools = "0.1.9"
pathbuftools = "0.1"
clap = "2.33"
mime = "0.3.13"

image = { version = "0.21.1", optional = true }
gstreamer = { version = "0.11.2", optional = true }
gstreamer-app = { version = "0.11.2", optional = true }

[build-dependencies]
termion = "1.5.1"
rustc_version = "0.2.3"

[features]
default = ["img", "video"]
video = ["gstreamer", "gstreamer-app"]
img = ["image"]

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

[[bin]]
name = "hunter-media"
path = "src/hunter-media.rs"
required-features = ["img"]




[patch.crates-io]
systemstat = { git = 'https://github.com/myfreeweb/systemstat', tag="v0.1.4" }

# These options increase performance and generate a smaller binary
[profile.release]
lto = true
codegen-units = 1