-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
33 lines (27 loc) · 929 Bytes
/
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
[package]
name = "ustc_cas"
version = "0.2.0"
edition = "2021"
rust-version = "1.61"
description = "a simple library for logging into USTC CAS System"
repository = "https://github.com/littzhch/ustc_cas/"
readme = "README.md"
license-file = "LICENSE.txt"
[lib]
crate-type = ["lib"]
[dependencies]
bytes = {version = "1.3", optional = true}
image = { version = "0.24", default-features = false, features = ["jpeg"], optional = true}
once_cell = "1.17"
regex = { version = "1.7", default-features = false, features = ["unicode", "std"] }
reqwest = { version = "0.11", default-features = false, features = ["cookies"] }
[dev-dependencies]
tokio = { version = "1.24", features = ["full"] }
[features]
default = ["native-tls", "validate-code"]
validate-code = ["image", "bytes"]
blocking = ["reqwest/blocking"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
[package.metadata.docs.rs]
all-features = true