-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
93 lines (82 loc) · 2.89 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
[package]
name = "nyaa"
version = "0.9.1"
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
lto = false
strip = "debuginfo"
[profile.github]
inherits = "release"
debug = false
strip = "none"
lto = true
[dependencies]
reqwest = { version = "0.12.5", features = ["cookies", "gzip", "json"], default-features = false }
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }
urlencoding = "2.1.3"
ratatui = { version = "0.28.0", default-features = false, features = ["crossterm"] }
textwrap = { version = "0.16.1", default-features = false }
crossterm = { version = "0.28.1", 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.3" }
open = "5.1.4"
dirs = "5.0.1"
shellexpand = "3.1.0"
indexmap = { version = "2.2.6", default-features = false }
human_bytes = { version = "0.4.3", default-features = false }
strum = { version = "0.26.2", default-features = false }
base64 = { version = "0.22.1", default-features = false, features = ["alloc"] }
lexopt = "0.3.0"
ratatui-image = { version = "1.0.5", optional = true , default-features = false }
image = { version = "0.25.1", optional = true, features = ["png"], default-features = false }
[lib]
name = "nyaa"
path = "src/lib.rs"
[features]
captcha = ["dep:ratatui-image", "dep:image"]
[cargo-features-manager.keep]
image = ["png"]
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29.0", features = ["signal"] }
[target.'cfg(any(target_os = "linux", target_os = "windows", target_os = "macos"))'.dependencies]
arboard = { version = "3.4", default-features = false }
[target.'cfg(not(any(target_os = "linux", target_os = "windows", target_os = "macos")))'.dependencies]
ratatui = { version = "0.28.0", default-features = false, features = ["termion"] }
[package.metadata.deb]
maintainer = "Steven Culwell <[email protected]>"
copyright = "2024, Steven Culwell <[email protected]>"
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" },
]