forked from Beastwick18/nyaa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
86 lines (78 loc) · 2.64 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
[package]
name = "nyaa"
version = "0.9.0"
edition = "2021"
rust-version = "1.75"
categories = ["command-line-utilities"]
keywords = ["tui", "cli", "nyaa", "torrent", "download"]
description = "A tui tool for browsing and downloading torrents from nyaa.si"
readme = "README.md"
repository = "https://github.com/Beastwick18/nyaa/"
license = "GPL-3.0-or-later"
[profile.release]
debug = 0
strip = "debuginfo"
lto = "none"
[profile.github]
inherits = "release"
debug = false
strip = "none"
lto = true
[dependencies]
reqwest = { version = "0.11.27", features = ["cookies", "gzip"], default-features = false }
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"], default-features = false }
urlencoding = "2.1.3"
ratatui = { version = "0.26.3", features = ["crossterm"], default-features = false }
textwrap = { version = "0.16.1", default-features = false }
crossterm = { version = "0.27.0", default-features = false }
unicode-width = "0.1.13"
toml = "0.8.14"
directories = "5.0.1"
serde = { version = "1.0.203", default-features = false }
scraper = { version = "0.19.0", default-features = false }
rss = { version = "2.0.8", default-features = false }
chrono = { version = "0.4.38", features = ["clock"], default-features = false }
transmission-rpc = { version = "0.4.2" }
open = "5.1.4"
arboard = { version = "3.4", default-features = false }
dirs = "5.0.1"
shellexpand = "3.1.0"
indexmap = { version = "2.2.6", default-features = false }
color-to-tui = { version = "0.3.0", default-features = false }
human_bytes = { version = "0.4.3", default-features = false }
strum = { version = "0.26.2", default-features = false }
ratatui-image = { version = "1.0.1", optional = true , default-features = false }
image = { version = "0.25.1", optional = true, features = ["png"], default-features = false }
base64 = { version = "0.22.1", features = ["alloc"], default-features = false }
lexopt = "0.3.0"
[lib]
name = "nyaa"
path = "src/lib.rs"
[features]
captcha = ["dep:ratatui-image", "dep:image"]
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29.0", features = ["signal"] }
[package.metadata.deb]
maintainer = "Steven Culwell <bradculwell@pm.me>"
copyright = "2024, Steven Culwell <bradculwell@pm.me>"
license-file = ["LICENSE", "4"]
extended-description = """A nyaa.si tui tool for browsing and downloading torrents"""
depends = "$auto"
section = "utility"
priority = "optional"
assets = [
[
"target/release/nyaa",
"usr/bin/",
"755",
],
[
"README.md",
"usr/share/doc/nyaa/README",
"644",
],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/nyaa", dest = "/usr/bin/nyaa", mode = "755" },
]