-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
43 lines (40 loc) · 1.07 KB
/
Copy pathCargo.toml
File metadata and controls
43 lines (40 loc) · 1.07 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
[package]
name = "thu-learn"
version = "0.1.0"
edition = "2021"
authors = ["lyreqwq"]
license = "GPL-3.0-or-later"
description = "Command-line client for Tsinghua Learn: homework deadlines, course files, announcements, and submissions"
repository = "https://github.com/lyreqwq/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"
[profile.release]
lto = true
codegen-units = 1
strip = true