-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
213 lines (209 loc) · 6.87 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
[package]
name = "novel-cli"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["Terakomari <[email protected]>"]
repository = "https://github.com/novel-rs/cli"
homepage = "https://github.com/novel-rs/cli"
documentation = "https://docs.rs/novel-cli"
description = "Download novels from sfacg and ciweimao"
readme = "README.md"
keywords = ["novel", "sfacg", "ciweimao"]
categories = ["command-line-utilities"]
[dependencies]
# https://github.com/novel-rs/opencc-rs
opencc-rs = { version = "0.3.0", default-features = false }
# https://github.com/novel-rs/api
novel-api = { git = "https://github.com/novel-rs/api", default-features = false }
# https://github.com/dtolnay/anyhow
anyhow = { version = "1.0.70", default-features = false, features = ["std"] }
# https://github.com/serde-rs/serde
serde = { version = "1.0.159", default-features = false, features = [
"std",
"derive",
] }
# https://github.com/tokio-rs/tokio
tokio = { version = "1.27.0", default-features = false, features = [
"macros",
"io-std",
"fs",
"sync",
"process",
"signal",
"rt-multi-thread",
"parking_lot",
] }
# https://github.com/SchrodingerZhu/snmalloc-rs
snmalloc-rs = "0.3.3"
# https://github.com/tkaitchuck/ahash
ahash = { version = "0.8.3", default-features = false, features = [
"std",
"runtime-rng",
] }
# https://github.com/Amanieu/parking_lot
parking_lot = { version = "0.12.1", default-features = false, features = [
"hardware-lock-elision",
] }
# https://github.com/matklad/once_cell
once_cell = { version = "1.17.1", default-features = false, features = [
"std",
"parking_lot",
] }
# https://github.com/rusticstuff/simdutf8
simdutf8 = { version = "0.1.4", default-features = false, features = [
"std",
"aarch64_neon",
] }
# https://github.com/rayon-rs/rayon
rayon = { version = "1.7.0", default-features = false }
# https://github.com/tokio-rs/tracing
tracing = { version = "0.1.37", default-features = false, features = ["std"] }
# https://github.com/tokio-rs/tracing
tracing-subscriber = { version = "0.3.16", default-features = false, features = [
"std",
"fmt",
"ansi",
"env-filter",
"tracing-log",
"smallvec",
"parking_lot",
] }
# https://github.com/tokio-rs/tracing
tracing-log = { version = "0.1.3", default-features = false, features = [
"std",
"log-tracer",
] }
# https://github.com/rust-lang/libc
libc = { version = "0.2.140", default-features = false, features = ["std"] }
# https://github.com/tokio-rs/bytes
bytes = { version = "1.4.0", default-features = false, features = ["std"] }
# https://github.com/servo/rust-url
url = { version = "2.3.1", default-features = false }
# https://github.com/rust-lang/regex
regex = "1.7.3"
# https://github.com/image-rs/image
image = { version = "0.24.6", default-features = false, features = [
"png",
"jpeg",
"jpeg_rayon",
"webp",
"webp-encoder",
] }
# https://github.com/clap-rs/clap
clap = { version = "4.2.1", default-features = false, features = [
"std",
"color",
"help",
"usage",
"error-context",
"suggestions",
"derive",
"cargo",
"wrap_help",
"unicode",
"string",
] }
# https://github.com/clap-rs/clap
clap_complete = { version = "4.2.0", default-features = false }
# https://github.com/console-rs/indicatif
indicatif = { version = "0.17.3", default-features = false, features = [
"improved_unicode",
] }
# https://github.com/console-rs/console
console = { version = "0.15.5", default-features = false, features = [
"unicode-width",
] }
# https://github.com/nukesor/comfy-table
comfy-table = { version = "6.1.4", default-features = false, features = [
"tty",
] }
# https://github.com/atanunq/viuer
viuer = { version = "0.6.2", default-features = false }
# https://github.com/sunfishcode/is-terminal
is-terminal = { version = "0.4.6", default-features = false }
# https://github.com/conradkleinespel/rpassword
rpassword = { version = "7.2.0", default-features = false }
# https://github.com/Manishearth/pathdiff
pathdiff = { version = "0.2.1", default-features = false, features = [
"camino",
] }
# https://github.com/BurntSushi/walkdir
walkdir = { version = "2.3.3", default-features = false }
# https://github.com/webdesus/fs_extra
fs_extra = { version = "1.3.0", default-features = false }
# https://github.com/Byron/trash-rs
trash = { version = "3.0.1", default-features = false, features = [
"coinit_apartmentthreaded",
] }
# https://github.com/Seeker14491/opener
opener = { version = "0.6.0", default-features = false }
# https://github.com/dtolnay/serde-yaml
serde_yaml = { version = "0.9.19", default-features = false }
# https://github.com/toml-rs/toml
toml = { version = "0.7.3", default-features = false, features = ["display"] }
# https://github.com/raphlinus/pulldown-cmark
pulldown-cmark = { version = "0.9.2", default-features = false, features = [
"simd",
] }
# https://github.com/Byron/pulldown-cmark-to-cmark
pulldown-cmark-to-cmark = { version = "10.0.4", default-features = false }
# https://github.com/zip-rs/zip
zip = { version = "0.6.4", default-features = false, features = [
"deflate",
"time",
] }
# https://github.com/1Password/sys-locale
sys-locale = { version = "0.2.4", default-features = false }
# https://github.com/zbraniecki/unic-locale
unic-langid = { version = "0.9.1", default-features = false }
# https://github.com/XAMPPRocky/fluent-templates
fluent-templates = { version = "0.8.0", default-features = false, features = [
"macros",
] }
# https://github.com/bojand/infer
infer = { version = "0.13.0", default-features = false, features = ["std"] }
# https://github.com/Arc-blroth/memory-stats
memory-stats = { version = "1.1.0", default-features = false }
# https://github.com/hyunsik/bytesize
bytesize = { version = "1.2.0", default-features = false }
# https://github.com/benwilber/exitcode
exitcode = { version = "1.1.2", default-features = false }
# https://github.com/rust-lang/mdBook
mdbook = { version = "0.4.28", default-features = false }
# https://github.com/kardeiz/sanitize-filename
sanitize-filename = { version = "0.4.0", default-features = false }
# https://github.com/magiclen/html-escape
html-escape = { version = "0.2.13", default-features = false, features = [
"std",
] }
# https://github.com/Peternator7/strum
strum = { version = "0.24.1", default-features = false, features = [
"std",
"derive",
] }
# https://github.com/jaemk/self_update
self_update = { version = "0.36.0", default-features = false, features = [
"archive-zip",
"compression-zip-deflate",
"rustls",
] }
# https://github.com/sharkdp/bat
bat = { version = "0.23.0", default-features = false, features = [
"paging",
"regex-onig",
] }
[dev-dependencies]
# https://github.com/rust-pretty-assertions/rust-pretty-assertions
pretty_assertions = { version = "1.3.0", default-features = false, features = [
"std",
] }
# https://github.com/assert-rs/assert_cmd
assert_cmd = { version = "2.0.10", default-features = false, features = [
"color-auto",
] }
[profile.release]
strip = true
lto = true
codegen-units = 1
panic = 'abort'