-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (43 loc) · 1.22 KB
/
Cargo.toml
File metadata and controls
53 lines (43 loc) · 1.22 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
44
45
46
47
48
49
50
51
52
53
[package]
name = "libmcaptcha"
version = "0.2.4"
authors = ["realaravinth <realaravinth@batsense.net>"]
description = "core of mCaptcha captcha system"
keywords = ["DDoS", "mcaptcha", "captcha", "pow"]
homepage = "https://mcaptcha.org"
repository = "https://github.com/realaravinth/libmcaptcha"
documentation = "https://docs.rs/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.5", optional = true }
log = {version = "0.4", optional = true }
derive_builder = "0.12"
derive_more = "0.99"
rand = {version = "0.8", optional = true }
mcaptcha_pow_sha256 = { version = "0.4.0", optional=true }
redis = { version = "0.23", features = ["tokio-comp","aio","r2d2", "connection-manager", "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",
"mcaptcha_pow_sha256",
"redis",
"num_cpus",
"crossbeam-channel"
]
minimal = []
full = []