-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
100 lines (87 loc) · 2.42 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
[package]
name = "menyoki"
version = "1.7.0"
description = "Screen{shot,cast} and perform ImageOps on the command line"
authors = ["Orhun Parmaksız <[email protected]>"]
license = "GPL-3.0"
readme = "README.md"
documentation = "https://github.com/orhun/menyoki/blob/master/README.md"
homepage = "https://menyoki.cli.rs"
repository = "https://github.com/orhun/menyoki"
keywords = ["screenshot", "screencast", "gif", "recorder", "image"]
categories = ["multimedia", "graphics", "command-line-utilities"]
include = ["src/**/*", "Cargo.*", "LICENSE", "README.md", "CHANGELOG.md"]
edition = "2021"
[features]
default = ["ski"]
# enable gifski encoder
ski = ["gifski", "rgb", "imgref"]
# enable support for viewing sixel images
sixel = ["viuer/sixel"]
# run window system tests
test-ws = []
# Windows dependencies
[target.'cfg(windows)'.dependencies]
# MacOS dependencies
[target.'cfg(target_os = "macos")'.dependencies]
# Linux dependencies
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
x11 = { version = "2.21.0", features = ["xlib", "xrandr"] }
[dependencies]
# window system
device_query = "1.1.2"
ctrlc = { version = "3.2.5", features = ["termination"] }
# image operations
image = { version = "0.24.5", features = ["webp-encoder"] }
imgref = { version = "1.9.4", optional = true }
rgb = { version = "0.8.36", optional = true }
png = "0.17.7"
gif = "0.12.0"
kamadak-exif = "0.5.5"
dominant_color = "0.3.0"
viuer = "0.6.2"
# utility
dirs = "4.0.0"
rust-ini = "0.18.0"
chrono = "0.4.23"
hex = "0.4.3"
bytesize = "1.2.0"
natord = "1.0.9"
colored = "2.0.0"
log = "0.4.17"
fern_colored = { version = "0.6.1", features = ["colored"] }
thiserror = "1.0.38"
shellexpand = "3.1.0"
[dependencies.gifski]
version = "1.10.0"
default-features = false
features = ["png"]
optional = true
[dependencies.clap]
version = "2.34.0"
default-features = false
features = ["suggestions", "color", "wrap_help"]
[dev-dependencies]
pretty_assertions = "1.3.0"
# metadata for cargo-binstall to get the right artifacts
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ version }-{ target }{ archive-suffix }"
bin-dir = "{ name }-{ version }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[profile.dev]
opt-level = 2
debug = true
panic = "abort"
[profile.test]
opt-level = 0
debug = true
[profile.release]
opt-level = 3
debug = false
panic = "abort"
lto = true
codegen-units = 1
strip = true
[profile.bench]
opt-level = 3
debug = false