-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
53 lines (44 loc) · 1.35 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
[package]
name = "neust"
version = "0.0.1"
authors = ["unbyte <i@shangyes.net>"]
edition = "2021"
readme = "README.md"
homepage = "https://github.com/neucn/neust"
repository = "https://github.com/neucn/neust.git"
description = "NEU CAS binding for Rust."
license = "MIT"
documentation = "https://docs.rs/neust"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--cfg", "docsrs"]
all-features = true
[dependencies]
thiserror = "1.0"
regex = "1.5"
lazy_static = "1.4"
async-trait = "0.1"
sealed = "0.4"
reqwest = { version = "0.11", default-features = false, features = ["cookies"] }
aes = { version = "0.8", optional = true }
cfb-mode = { version = "0.8", optional = true }
hex = { version = "0.4", optional = true }
rand = { version = "0.8", optional = true }
[dev-dependencies]
tokio = { version = "1.16", default-features = false, features = ["macros", "rt-multi-thread"] }
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
json = ["reqwest/json"]
wechat = ["rand"]
webvpn = ["aes", "cfb-mode", "hex"]
[[example]]
name = "wechat"
path = "examples/wechat.rs"
required-features = ["wechat"]
[[example]]
name = "webvpn-gpa"
path = "examples/webvpn-gpa.rs"
required-features = ["webvpn"]