forked from mCaptcha/libmcaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (43 loc) · 1.29 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 = "libmcaptcha"
version = "0.2.3"
authors = ["realaravinth <[email protected]>"]
description = "core of mCaptcha captcha system"
keywords = ["DDoS", "mcaptcha", "captcha", "pow"]
homepage = "https://mcaptcha.org"
repository = "https://github.com/realaravinth/libmcaptcha"
license = "AGPL-3.0"
edition = "2021"
readme = "README.md"
[dependencies]
actix = { version = "0.13", optional = true}
serde = "1.0"
serde_json = "1"
pretty_env_logger = {version = "0.4", optional = true }
log = {version = "0.4", optional = true }
derive_builder = "0.11"
derive_more = "0.99"
rand = {version = "0.8", optional = true }
pow_sha256 = { version = "0.3.1", git = "https://github.com/mcaptcha/pow_sha256", optional=true }
redis = { version = "0.21", features = ["tokio-comp","aio","r2d2", "connection-manager", "cluster"], optional=true }
#redis = { version = "0.17.0", features = ["tokio-comp","aio", "cluster"], optional=true }
tokio = { version = "1.25", features = ["sync"]}
num_cpus = { version = "1.13.1", optional=true }
crossbeam-channel = { version = "0.5.6", optional=true }
[dev-dependencies]
actix-rt = "2"
[features]
default = [
"minimal",
"full",
"actix",
"rand",
"log",
"pretty_env_logger",
"pow_sha256",
"redis",
"num_cpus",
"crossbeam-channel"
]
minimal = []
full = []