forked from zu1k/srun
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
47 lines (41 loc) · 1.09 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
[package]
name = "srun"
version = "0.6.0"
authors = ["zu1k <[email protected]>"]
edition = "2021"
description = "Srun authentication system login tools"
readme = "README.md"
homepage = "https://github.com/zu1k/srun"
repository = "https://github.com/zu1k/srun"
license = "GPL-3.0"
exclude = [".github/"]
build = "build.rs"
[profile.release]
strip = true
lto = true
opt-level = "z"
codegen-units = 1
panic = "abort"
[dependencies]
base64 = "0.22"
getopts = "0.2"
hmac = "0.12"
if-addrs = "0.12"
lazy_static = "1.4"
md-5 = "0.10"
quick-error = "2.0"
reqwest = { version = "0.12", default-features = false, features = ["blocking"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha-1 = "0.10"
ureq = { git = "https://github.com/zu1k/ureq.git", branch = "srun", default-features = false, optional = true }
socket2 = "0.5"
[features]
default = ["ureq"]
tls = ["ureq-rust-tls"]
# ureq
ureq-rust-tls = ["ureq", "ureq/tls"]
ureq-native-tls = ["ureq", "ureq/native-tls"]
# reqwest
reqwest-rust-tls = ["reqwest", "reqwest/rustls-tls"]
reqwest-native-tls = ["reqwest", "reqwest/default-tls"]