-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
80 lines (73 loc) · 2.43 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
[package]
name = "depi"
version = "0.2.0"
authors = ["Emil Sayahi <[email protected]>"]
edition = "2021"
resolver = "2"
license = "AGPL-3.0-or-later"
description = "Command-line tool for viewing images."
repository = "https://github.com/Dirout/depi"
homepage = "https://github.com/Dirout/depi"
readme = "README.md"
include = [
"**/*.rs",
"Cargo.toml",
"COPYING",
"LICENSE.md",
"NOTICE",
"rust-toolchain",
"rustfmt.toml",
".cargo/*",
]
[lib]
name = "depi"
path = "src/lib.rs"
crate-type=["rlib", "cdylib", "staticlib"]
[[bin]]
name = "depi"
path = "src/main.rs"
doc = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.82"
argfile = "0.1.6"
arti-client = { version = "0.8.3", features = ["static"] }
arti-hyper = "0.8.3"
async_ftp = { version = "6.0.0", features = ["secure"] }
cfg-if = "1.0.0"
clap = { version = "4.5.4", features = ["cargo", "suggestions", "color", "wrap_help", "unicode"] }
futures = "0.3.30"
hyper = "0.14.28"
image = { version = "0.24.9", default-features = true }
ipfs-api-backend-hyper = { version = "0.6.0", features = ["with-hyper-tls"] }
lazy_static = "1.4.0"
mimalloc = { version = "0.1.39", default-features = false }
url = "2.5.0"
urlencoding = "2.1.3"
reqwest = { version = "0.11.27", features = ["stream"] }
tls-api = { version = "0.9.0", features = ["runtime-tokio"] }
tls-api-native-tls = { version = "0.9.0", features = ["runtime-tokio"] }
tokio = { version = "1.37.0", features = ["full"] }
tokio-stream = "0.1.15"
viuer = "0.6.2"
wild = "2.2.1"
[features]
sixel = ["viuer/sixel"]
avif = ["image/avif-encoder", "image/avif-decoder"]
[package.metadata.deb]
section = "utility"
priority = "optional"
assets = [
["target/x86_64-unknown-linux-gnu/release/depi", "usr/bin/", "755"],
["target/x86_64-unknown-linux-gnu/release/libdepi.so", "usr/lib/", "644"],
["README.md", "usr/share/doc/depi/README.md", "644"],
["COPYING", "usr/share/doc/depi/COPYING", "644"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/depi", dest = "/usr/bin/depi", mode = "755" },
{ source = "target/release/libdepi.so", dest = "/usr/lib/libdepi.so", mode = "755" },
{ source = "target/release/libdepi.a", dest = "/usr/lib/libdepi.a", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/depi/README.md", mode = "644" },
{ source = "COPYING", dest = "/usr/share/doc/depi/COPYING", mode = "644" },
]