Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (49 loc) · 1.48 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (49 loc) · 1.48 KB
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
[package]
name = "thu-learn"
version = "0.1.0"
edition = "2021"
authors = ["lyrenius"]
license = "GPL-3.0-or-later"
description = "Command-line client for THU Learn: homework deadlines, course files, announcements, and submissions"
repository = "https://github.com/lyrenius/thu-learn-cli"
[[bin]]
name = "thu-learn"
path = "src/main.rs"
[dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
reqwest = { version = "0.12", default-features = false, features = [
"json",
"cookies",
"multipart",
"rustls-tls",
"stream",
] }
reqwest_cookie_store = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
clap = { version = "4", features = ["derive"] }
anyhow = "1"
scraper = "0.20"
regex = "1"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
directories = "5"
toml = "0.8"
futures = "0.3"
owo-colors = { version = "4", features = ["supports-colors"] }
thirtyfour = "0.37.1"
cookie_store = "0.21"
url = "2.5.8"
unicode-width = "0.2"
sm2 = { version = "0.14", default-features = false, features = ["arithmetic", "pke", "getrandom", "std"] }
keyring = "4.2"
rpassword = "7"
getrandom = { version = "0.4", features = ["sys_rng"] }
sm3 = "0.5"
ratatui = { version = "0.30", features = ["unstable-rendered-line-info"] }
crossterm = { version = "0.29", features = ["event-stream"] }
[dev-dependencies]
tokio = { version = "1", features = ["net", "io-util"] }
[profile.release]
lto = true
codegen-units = 1
strip = true