forked from biliup/biliup-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (52 loc) · 1.59 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
[package]
name = "biliup"
version = "0.1.4"
edition = "2021"
description = "Upload video to bilibili."
license = "MIT OR Apache-2.0"
[profile.release]
lto = true
codegen-units = 1
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.minimal]
inherits = "release"
opt-level = 's'
panic = 'abort'
[dependencies]
serde = { version = "1.0", features = ["derive"] }
reqwest_cookie_store = "0.2.0"
cookie_store = "0.15.0"
tokio = { version = "1", features = ["full"] }
# serde_json is just for the example, not required in general
#serde_json = { version = "1.0", features = ["preserve_order"] }
serde_json = "1.0"
anyhow = "1.0"
rsa = "0.5.0"
base64 = "0.13.0"
md-5 = "0.9.1"
hex-literal = "0.3.3"
rand = "0.8.4"
url = "2.2.2"
thiserror = "1.0"
cookie = "0.15.1"
time = "0.3.4"
bytes = "1.1.0"
futures = "0.3.17"
#tokio-util = { version = "0.6.9", features = ["io", "codec", "compat"] }
async-std = "1.10.0"
async-stream = "0.3.2"
typed-builder = "0.9.1"
reqwest-middleware = "0.1.1"
reqwest-retry = "0.1.1"
serde_urlencoded = "0.7"
dialoguer = "0.9.0"
clap = { version = "3.0.0", features = ["derive"] }
indicatif = "0.16.2"
qrcode = "0.12.0"
image = "0.23.14"
glob = "0.3.0"
serde_yaml = "0.8"
[target.'cfg(all(target_arch="aarch64", target_vendor="unknown", target_os="linux", target_env="gnu"))'.dependencies]
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }
[target.'cfg(not(all(target_arch="aarch64", target_vendor="unknown", target_os="linux", target_env="gnu")))'.dependencies]
reqwest = { version = "0.11", features = ["json"] }