-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
83 lines (76 loc) · 1.99 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
[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]
strip = true
lto = true
[dependencies]
reqwest = { version = "0.11.27", features = [
"gzip",
"rustls-tls",
"socks",
"cookies",
], default-features = false }
tokio = { version = "1.38.0", features = ["rt", "macros", "rt-multi-thread"] }
urlencoding = "2.1.3"
ratatui = "0.26.3"
textwrap = "0.16.1"
crossterm = "0.27.0"
unicode-width = "0.1.13"
toml = "0.8.14"
directories = "5.0.1"
serde = { version = "1.0.203", features = ["derive"] }
scraper = "0.19.0"
regex = "1.10.4"
rss = "2.0.8"
chrono = "0.4.38"
transmission-rpc = { version = "0.4.2" }
open = "5.1.4"
arboard = { version = "3.4", features = ["wayland-data-control"] }
dirs = "5.0.1"
shellexpand = "3.1.0"
indexmap = "2.2.6"
color-to-tui = "0.3.0"
human_bytes = "0.4.3"
strum = "0.26.2"
ratatui-image = { version = "1.0.1", optional = true }
image = { version = "0.25.1", optional = true }
[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" },
]